DIRECTOR: LINGO: Kill Lingo execution on quit

This commit is contained in:
djsrv 2020-07-24 12:44:57 -04:00
parent 5d1976843e
commit 8f84937256

View File

@ -597,8 +597,11 @@ void Lingo::execute(uint pc) {
}
// process events every so often
if (counter % 100 == 0)
if (counter % 100 == 0) {
_vm->processEvents();
if (_vm->getCurrentMovie()->getScore()->_playState == kPlayStopped)
break;
}
}
_abort = false;