aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/director/director.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp
index 14a63db8b6..66635eb875 100644
--- a/engines/director/director.cpp
+++ b/engines/director/director.cpp
@@ -207,7 +207,7 @@ Common::Error DirectorEngine::run() {
_nextMovie.frameI = -1;
}
- if (!debugChannelSet(-1, kDebugLingoCompileOnly)) {
+ if (!debugChannelSet(-1, kDebugLingoCompileOnly) && _currentScore) {
debugC(1, kDebugEvents, "Starting playback of score '%s'", _currentScore->getMacName().c_str());
_currentScore->startLoop();