aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2008-01-13 23:48:56 +0000
committerPaweł Kołodziejski2008-01-13 23:48:56 +0000
commita6f8e5c89a41bf10b65251ed1ec97b36c99b7313 (patch)
treeb6bc1e5613b4528af6063f536b0f3e2fa2db8afa /engines/scumm
parent758c4b16555c63d4d5aae4236369e9d132e60f39 (diff)
downloadscummvm-rg350-a6f8e5c89a41bf10b65251ed1ec97b36c99b7313.tar.gz
scummvm-rg350-a6f8e5c89a41bf10b65251ed1ec97b36c99b7313.tar.bz2
scummvm-rg350-a6f8e5c89a41bf10b65251ed1ec97b36c99b7313.zip
correction fade out music times in comi demo
svn-id: r30480
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/imuse_digi/dimuse_script.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_script.cpp b/engines/scumm/imuse_digi/dimuse_script.cpp
index ba024eafcb..7cb61b347e 100644
--- a/engines/scumm/imuse_digi/dimuse_script.cpp
+++ b/engines/scumm/imuse_digi/dimuse_script.cpp
@@ -101,19 +101,23 @@ void IMuseDigital::parseScriptCmds(int cmd, int b, int c, int d, int e, int f, i
}
}
} else if ((_vm->_game.id == GID_CMI) && (_vm->_game.features & GF_DEMO)) {
- fadeOutMusic(120);
if (b == 2) {
+ fadeOutMusic(108);
startMusic("in1.imx", 1100, 0, 127);
} else if (b == 4) {
+ fadeOutMusic(108);
startMusic("in2.imx", 1120, 0, 127);
} else if (b == 8) {
+ fadeOutMusic(108);
startMusic("out1.imx", 1140, 0, 127);
} else if (b == 9) {
+ fadeOutMusic(108);
startMusic("out2.imx", 1150, 0, 127);
} else if (b == 16) {
+ fadeOutMusic(108);
startMusic("gun.imx", 1210, 0, 127);
} else {
- warning("imuse digital: set state unknown for cmi demo: %d, room: %d", b, _vm->_currentRoom);
+ fadeOutMusic(120);
}
} else if (_vm->_game.id == GID_DIG) {
setDigMusicState(b);