aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/inter_v6.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp
index 9953c69a2b..bfa45258fa 100644
--- a/engines/gob/inter_v6.cpp
+++ b/engines/gob/inter_v6.cpp
@@ -148,9 +148,10 @@ void Inter_v6::o6_playVmdOrMusic() {
probe16bitMusic(fileName);
- _vm->_sound->bgStop();
- if (lastFrame == -9)
+ if (lastFrame == -9) {
warning("Urban/Playtoons Stub: delayed stop not implemented");
+ }
+ _vm->_sound->bgStop();
_vm->_sound->bgPlay(fileName, SOUND_WAV);
return;
} else if (lastFrame <= -10) {
@@ -159,7 +160,7 @@ void Inter_v6::o6_playVmdOrMusic() {
if (lastFrame <= -100)
lastFrame += 100;
- if (((-lastFrame)%10 == 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);