aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/imuse_digi
diff options
context:
space:
mode:
authorPaweł Kołodziejski2008-01-12 23:30:07 +0000
committerPaweł Kołodziejski2008-01-12 23:30:07 +0000
commit68f41bd71b01bcbdb54949df630410a908e60b58 (patch)
treef1887400e08ac698a47cc39ce101018ad2a8afcc /engines/scumm/imuse_digi
parentaf486e05241ac4022e851a4e8c6ac11be4dd28cc (diff)
downloadscummvm-rg350-68f41bd71b01bcbdb54949df630410a908e60b58.tar.gz
scummvm-rg350-68f41bd71b01bcbdb54949df630410a908e60b58.tar.bz2
scummvm-rg350-68f41bd71b01bcbdb54949df630410a908e60b58.zip
seqId 4 should pass fadeout music not silence ignore
svn-id: r30461
Diffstat (limited to 'engines/scumm/imuse_digi')
-rw-r--r--engines/scumm/imuse_digi/dimuse_music.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_music.cpp b/engines/scumm/imuse_digi/dimuse_music.cpp
index 221e9f731b..e45f55e742 100644
--- a/engines/scumm/imuse_digi/dimuse_music.cpp
+++ b/engines/scumm/imuse_digi/dimuse_music.cpp
@@ -192,10 +192,7 @@ void IMuseDigital::playDigMusic(const char *songName, const imuseDigTable *table
void IMuseDigital::setComiMusicState(int stateId) {
int l, num = -1;
- if (stateId == 4) // left-over of deprecated the dig code
- return;
-
- if (stateId == 0)
+ if (stateId == 0 || stateId == 4)
stateId = 1000;
for (l = 0; _comiStateMusicTable[l].soundId != -1; l++) {