[Scummvm-git-logs] scummvm master -> 4d9863e2462eb4c8416c871e3ad80c4ffc15fa8d
djsrv
dservilla at gmail.com
Thu Jul 9 16:38:41 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:
4d9863e246 DIRECTOR: Don't loop invalid movies
Commit: 4d9863e2462eb4c8416c871e3ad80c4ffc15fa8d
https://github.com/scummvm/scummvm/commit/4d9863e2462eb4c8416c871e3ad80c4ffc15fa8d
Author: djsrv (dservilla at gmail.com)
Date: 2020-07-09T12:38:02-04:00
Commit Message:
DIRECTOR: Don't loop invalid movies
Changed paths:
engines/director/stage.cpp
diff --git a/engines/director/stage.cpp b/engines/director/stage.cpp
index 64fa476a73..f49a48bb04 100644
--- a/engines/director/stage.cpp
+++ b/engines/director/stage.cpp
@@ -365,6 +365,8 @@ bool Stage::step() {
if (!debugChannelSet(-1, kDebugCompileOnly) && goodMovie) {
debugC(1, kDebugEvents, "Starting playback of movie '%s'", _currentMovie->getMacName().c_str());
_currentMovie->getScore()->startPlay();
+ } else {
+ return false;
}
}
return true;
More information about the Scummvm-git-logs
mailing list