diff options
author | Sven Hesse | 2011-01-22 16:48:51 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-22 16:48:51 +0000 |
commit | 7fee6f9740133d14caf0e52d610dba2d5f82c5a6 (patch) | |
tree | 90372ba5aba1b8a2e0a04c4b93f87ffe05ca951c | |
parent | 37aa5138155bc865cf0a7ecfb6f09844bcbcba65 (diff) | |
download | scummvm-rg350-7fee6f9740133d14caf0e52d610dba2d5f82c5a6.tar.gz scummvm-rg350-7fee6f9740133d14caf0e52d610dba2d5f82c5a6.tar.bz2 scummvm-rg350-7fee6f9740133d14caf0e52d610dba2d5f82c5a6.zip |
GOB: Proper live video looping
Fixes the Yes/No robots in Bambou
svn-id: r55436
-rw-r--r-- | engines/gob/inter_v6.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp index 2acc4baf05..a662c1fa1b 100644 --- a/engines/gob/inter_v6.cpp +++ b/engines/gob/inter_v6.cpp @@ -151,15 +151,7 @@ void Inter_v6::o6_playVmdOrMusic() { _vm->_sound->bgPlay(fileName, SOUND_WAV); return; } else if (props.lastFrame <= -10) { - _vm->_vidPlayer->closeVideo(); - - if (props.lastFrame <= -100) { - props.loop = true; - props.lastFrame += 100; - } - - if (((-props.lastFrame) % 10 == 3) && (props.lastFrame <= -20)) - _vm->_sound->bgPlay(fileName, SOUND_WAV); + props.loop = true; } else if (props.lastFrame < 0) { warning("Urban/Playtoons Stub: Unknown Video/Music command: %d, %s", props.lastFrame, fileName); return; |