aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/smush/smush_player.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/scumm/smush/smush_player.cpp b/engines/scumm/smush/smush_player.cpp
index ebbea35dfa..d4e7b546db 100644
--- a/engines/scumm/smush/smush_player.cpp
+++ b/engines/scumm/smush/smush_player.cpp
@@ -1367,10 +1367,12 @@ void SmushPlayer::play(const char *filename, int32 offset, int32 startFrame) {
debugC(DEBUG_SMUSH, "Smush stats: BackendUpdateScreen( %03d )", end_time - start_time);
}
- if (_vm->_smushVideoShouldFinish || _vm->_quit || _vm->_saveLoadFlag) {
+ if (_vm->_quit || _vm->_saveLoadFlag) {
_smixer->stop();
break;
}
+ if (_vm->_smushVideoShouldFinish || _vm->_quit || _vm->_saveLoadFlag)
+ break;
_vm->_system->delayMillis(10);
}