aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorwhiterandrek2018-05-11 17:43:20 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commitba29d37ccd73b2077a1a8e59dd59d1a383c935d6 (patch)
treeeed381b8c8ecd4f0a1c652ffd222c2062935e7cd /engines
parentc9887c6151f2206ef3a1349b2def5924759b4535 (diff)
downloadscummvm-rg350-ba29d37ccd73b2077a1a8e59dd59d1a383c935d6.tar.gz
scummvm-rg350-ba29d37ccd73b2077a1a8e59dd59d1a383c935d6.tar.bz2
scummvm-rg350-ba29d37ccd73b2077a1a8e59dd59d1a383c935d6.zip
PINK: fixed stopping sfx according to disasm
Diffstat (limited to 'engines')
-rw-r--r--engines/pink/objects/actions/action_play_with_sfx.cpp7
-rw-r--r--engines/pink/objects/actions/action_play_with_sfx.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/engines/pink/objects/actions/action_play_with_sfx.cpp b/engines/pink/objects/actions/action_play_with_sfx.cpp
index 9ead26bfc4..d9215e3eb6 100644
--- a/engines/pink/objects/actions/action_play_with_sfx.cpp
+++ b/engines/pink/objects/actions/action_play_with_sfx.cpp
@@ -78,13 +78,6 @@ ActionPlayWithSfx::~ActionPlayWithSfx() {
}
}
-void ActionPlayWithSfx::end() {
- ActionPlay::end();
- for (int i = 0; i < _sfxArray.size(); ++i) {
- _sfxArray[i]->end();
- }
-}
-
void ActionSfx::deserialize(Pink::Archive &archive) {
archive >> _frame >> _volume >> _sfxName;
archive.readObject();
diff --git a/engines/pink/objects/actions/action_play_with_sfx.h b/engines/pink/objects/actions/action_play_with_sfx.h
index c7aab59866..9a1b069142 100644
--- a/engines/pink/objects/actions/action_play_with_sfx.h
+++ b/engines/pink/objects/actions/action_play_with_sfx.h
@@ -36,7 +36,6 @@ public:
virtual void deserialize(Archive &archive);
virtual void toConsole();
virtual void update();
- virtual void end();
protected:
virtual void onStart();