aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/director/director.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp
index 2835863a11..cc63e5142c 100644
--- a/engines/director/director.cpp
+++ b/engines/director/director.cpp
@@ -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();