PINK: fixed stopping sfx according to disasm

This commit is contained in:
whiterandrek 2018-05-11 17:43:20 +03:00 committed by Eugene Sandulenko
parent c9887c6151
commit ba29d37ccd
2 changed files with 0 additions and 8 deletions

View File

@ -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();

View File

@ -36,7 +36,6 @@ public:
virtual void deserialize(Archive &archive);
virtual void toConsole();
virtual void update();
virtual void end();
protected:
virtual void onStart();