diff options
-rw-r--r-- | engines/director/score.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp index c744a91299..83fe6dd5c0 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -1078,7 +1078,9 @@ void Score::startLoop() { while (!_stopPlay && _currentFrame < _frames.size()) { debugC(1, kDebugImages, "****************************** Current frame: %d", _currentFrame + 1); update(); - _vm->processEvents(); + + if (_currentFrame < _frames.size()) + _vm->processEvents(); } } |