aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/inter_v6.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp
index c10b6ad6f1..560415a760 100644
--- a/engines/gob/inter_v6.cpp
+++ b/engines/gob/inter_v6.cpp
@@ -150,10 +150,8 @@ void Inter_v6::o6_playVmdOrMusic() {
_vm->_sound->bgStop();
_vm->_sound->bgPlay(fileName, SOUND_WAV);
return;
- } else if (props.lastFrame == -10) {
+ } else if (props.lastFrame <= -10) {
_vm->_vidPlayer->closeVideo();
- return;
- } else if (props.lastFrame < -10) {
props.loop = true;
} else if (props.lastFrame < 0) {
warning("Urban/Playtoons Stub: Unknown Video/Music command: %d, %s", props.lastFrame, fileName);