aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorArnaud Boutonné2009-08-27 10:35:39 +0000
committerArnaud Boutonné2009-08-27 10:35:39 +0000
commit6044cea5a04e2e3c8b33deea6bbbb753a483d6b4 (patch)
treeb3da6ba34d3c1248dc42178b0b0a89e61e5a3ef0 /engines
parentd05e65ccfb3d252fe8c81d2c2415bbcd6e52e999 (diff)
downloadscummvm-rg350-6044cea5a04e2e3c8b33deea6bbbb753a483d6b4.tar.gz
scummvm-rg350-6044cea5a04e2e3c8b33deea6bbbb753a483d6b4.tar.bz2
scummvm-rg350-6044cea5a04e2e3c8b33deea6bbbb753a483d6b4.zip
Playtoons - delayed bgstop only when frame == -9
svn-id: r43765
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/inter_v6.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp
index 98747de099..9953c69a2b 100644
--- a/engines/gob/inter_v6.cpp
+++ b/engines/gob/inter_v6.cpp
@@ -148,8 +148,9 @@ void Inter_v6::o6_playVmdOrMusic() {
probe16bitMusic(fileName);
- warning("Urban/Playtoons Stub: Video/Music command %d (NOT IMPLEMENTED delayed stop + start), %s", lastFrame, fileName);
_vm->_sound->bgStop();
+ if (lastFrame == -9)
+ warning("Urban/Playtoons Stub: delayed stop not implemented");
_vm->_sound->bgPlay(fileName, SOUND_WAV);
return;
} else if (lastFrame <= -10) {
@@ -158,8 +159,7 @@ void Inter_v6::o6_playVmdOrMusic() {
if (lastFrame <= -100)
lastFrame += 100;
- palEnd=(-lastFrame)%10;
- if (palEnd==3 && lastFrame<=-20)
+ if (((-lastFrame)%10 == 3) && (lastFrame <= -20))
_vm->_sound->bgPlay(fileName, SOUND_WAV);
} else if (lastFrame < 0) {
warning("Urban/Playtoons Stub: Unknown Video/Music command: %d, %s", lastFrame, fileName);