aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2008-02-15 14:14:04 +0000
committerPaweł Kołodziejski2008-02-15 14:14:04 +0000
commite640155089bf07dea4e7b45afeedaeea0d295e4c (patch)
treec30a5364af959992faf74cd8dc75402f9f73f474
parentfe1078f08fb1126d116431d70f3cadcb4ea34f8c (diff)
downloadscummvm-rg350-e640155089bf07dea4e7b45afeedaeea0d295e4c.tar.gz
scummvm-rg350-e640155089bf07dea4e7b45afeedaeea0d295e4c.tar.bz2
scummvm-rg350-e640155089bf07dea4e7b45afeedaeea0d295e4c.zip
revert stateId == 4 part of code to previous ignore action to fix bug #1881415
svn-id: r30868
-rw-r--r--engines/scumm/imuse_digi/dimuse_music.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_music.cpp b/engines/scumm/imuse_digi/dimuse_music.cpp
index 238ba2c591..8d814c1b28 100644
--- a/engines/scumm/imuse_digi/dimuse_music.cpp
+++ b/engines/scumm/imuse_digi/dimuse_music.cpp
@@ -202,7 +202,10 @@ void IMuseDigital::playDigMusic(const char *songName, const imuseDigTable *table
void IMuseDigital::setComiMusicState(int stateId) {
int l, num = -1;
- if (stateId == 0 || stateId == 4)
+ if (stateId == 4) // look into #1881415 bug, ignore stateId == 4 it's seems needed after all
+ return;
+
+ if (stateId == 0)
stateId = 1000;
for (l = 0; _comiStateMusicTable[l].soundId != -1; l++) {