mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
PINK: fixed stopping sfx according to disasm
This commit is contained in:
parent
c9887c6151
commit
ba29d37ccd
@ -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();
|
||||
|
@ -36,7 +36,6 @@ public:
|
||||
virtual void deserialize(Archive &archive);
|
||||
virtual void toConsole();
|
||||
virtual void update();
|
||||
virtual void end();
|
||||
|
||||
protected:
|
||||
virtual void onStart();
|
||||
|
Loading…
Reference in New Issue
Block a user