diff options
author | Arnaud Boutonné | 2010-08-15 23:40:24 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-08-15 23:40:24 +0000 |
commit | 8b649178ce7aaabaf9f37a9d6274ef747b509e1f (patch) | |
tree | 5513b715e76e329cb5c415151648abd4538fe23f /engines/gob/sound/sound.cpp | |
parent | 58987824c2846f127ced4902ab37098e34662b20 (diff) | |
download | scummvm-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
Diffstat (limited to 'engines/gob/sound/sound.cpp')
-rw-r--r-- | engines/gob/sound/sound.cpp | 6 |
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() { |