aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2011-01-22 17:19:58 +0000
committerSven Hesse2011-01-22 17:19:58 +0000
commit5b4183fa2734fedd613b4fcd7ed56c0de37a06a8 (patch)
tree164dc5245b9133b682828fc4021490a5c2b50e6f /engines/gob
parent3f162962aaa1c6807ac36736a422f79761ea516d (diff)
downloadscummvm-rg350-5b4183fa2734fedd613b4fcd7ed56c0de37a06a8.tar.gz
scummvm-rg350-5b4183fa2734fedd613b4fcd7ed56c0de37a06a8.tar.bz2
scummvm-rg350-5b4183fa2734fedd613b4fcd7ed56c0de37a06a8.zip
GOB: Or actually, *this* should be the correct loop flag handling
svn-id: r55438
Diffstat (limited to 'engines/gob')
-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);