PETKA: properly stop sequence if it's not stopped by opcode

This commit is contained in:
Andrei Prykhodko 2020-05-30 00:39:39 +03:00
parent 06abfbf7c3
commit 6f3e877df1

@ -39,11 +39,7 @@ InterfaceSequence::InterfaceSequence() {
}
void InterfaceSequence::start(int id) {
removeTexts();
for (uint i = 0; i < _objs.size(); ++i) {
QMessageObject *obj = (QMessageObject *)_objs[i];
obj->removeSound();
}
stop();
g_system->getMixer()->pauseAll(true);