aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Boutonné2010-08-15 23:40:24 +0000
committerArnaud Boutonné2010-08-15 23:40:24 +0000
commit8b649178ce7aaabaf9f37a9d6274ef747b509e1f (patch)
tree5513b715e76e329cb5c415151648abd4538fe23f
parent58987824c2846f127ced4902ab37098e34662b20 (diff)
downloadscummvm-rg350-8b649178ce7aaabaf9f37a9d6274ef747b509e1f.tar.gz
scummvm-rg350-8b649178ce7aaabaf9f37a9d6274ef747b509e1f.tar.bz2
scummvm-rg350-8b649178ce7aaabaf9f37a9d6274ef747b509e1f.zip
Fascination - Add workaround for script bug: wrong track name is called in storage room
svn-id: r52107
-rw-r--r--engines/gob/sound/sound.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/gob/sound/sound.cpp b/engines/gob/sound/sound.cpp
index f2b9004a41..83da3e06c2 100644
--- a/engines/gob/sound/sound.cpp
+++ b/engines/gob/sound/sound.cpp
@@ -612,7 +612,11 @@ void Sound::cdPlay(const char *trackName) {
return;
debugC(1, kDebugSound, "CDROM: Playing track \"%s\"", trackName);
- _cdrom->startTrack(trackName);
+ if ((_vm->getGameType() == kGameTypeFascination) && !scumm_stricmp(trackName, "boscle")) {
+ warning("Using bosscle instead of boscle");
+ _cdrom->startTrack("bosscle");
+ } else
+ _cdrom->startTrack(trackName);
}
void Sound::cdStop() {