mirror of
https://github.com/scummvm/scummvm.git
synced 2026-11-18 21:34:48 +00:00
DIRECTOR: Do not start main loop when compile only is requested
This commit is contained in:
1 parent
5264fecd03
commit
625f3c1c28
1 file changed
+5
-3
@@ -204,11 +204,13 @@ Common::Error DirectorEngine::run() {
|
||||
_nextMovie.frameI = -1;
|
||||
}
|
||||
|
||||
debugC(1, kDebugEvents, "Starting playback of score '%s'", _currentScore->getMacName().c_str());
|
||||
if (!debugChannelSet(-1, kDebugLingoCompileOnly)) {
|
||||
debugC(1, kDebugEvents, "Starting playback of score '%s'", _currentScore->getMacName().c_str());
|
||||
|
||||
_currentScore->startLoop();
|
||||
_currentScore->startLoop();
|
||||
|
||||
debugC(1, kDebugEvents, "Finished playback of score '%s'", _currentScore->getMacName().c_str());
|
||||
debugC(1, kDebugEvents, "Finished playback of score '%s'", _currentScore->getMacName().c_str());
|
||||
}
|
||||
|
||||
if (getGameID() == GID_TESTALL) {
|
||||
_nextMovie = getNextMovieFromQueue();
|
||||
|
||||
Reference in new issue
Block a user