[Scummvm-git-logs] scummvm master -> 8f849372560fed05b3ec29f2788ada2ea567ed81
djsrv
dservilla at gmail.com
Fri Jul 24 16:45:25 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
8f84937256 DIRECTOR: LINGO: Kill Lingo execution on quit
Commit: 8f849372560fed05b3ec29f2788ada2ea567ed81
https://github.com/scummvm/scummvm/commit/8f849372560fed05b3ec29f2788ada2ea567ed81
Author: djsrv (dservilla at gmail.com)
Date: 2020-07-24T12:44:57-04:00
Commit Message:
DIRECTOR: LINGO: Kill Lingo execution on quit
Changed paths:
engines/director/lingo/lingo.cpp
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp
index 7aff34a791..9b390ef678 100644
--- a/engines/director/lingo/lingo.cpp
+++ b/engines/director/lingo/lingo.cpp
@@ -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;
More information about the Scummvm-git-logs
mailing list