diff options
author | Paul Gilbert | 2015-10-17 15:24:29 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-10-17 15:24:29 -0400 |
commit | 8841aee2f129e09d45ff5ce38b74877a55ffb5ae (patch) | |
tree | 6bb02bc40951ef87069d7263271bd557f620e8fb /engines | |
parent | 65ce5a89c96594847646b16fa0bc68329f1f16f1 (diff) | |
download | scummvm-rg350-8841aee2f129e09d45ff5ce38b74877a55ffb5ae.tar.gz scummvm-rg350-8841aee2f129e09d45ff5ce38b74877a55ffb5ae.tar.bz2 scummvm-rg350-8841aee2f129e09d45ff5ce38b74877a55ffb5ae.zip |
SHERLOCK: RT: Fix Diogenes fire music slightly too long in intro
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sherlock/tattoo/tattoo_scene.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/engines/sherlock/tattoo/tattoo_scene.cpp b/engines/sherlock/tattoo/tattoo_scene.cpp index 2f4e85299b..27f37665dc 100644 --- a/engines/sherlock/tattoo/tattoo_scene.cpp +++ b/engines/sherlock/tattoo/tattoo_scene.cpp @@ -90,15 +90,22 @@ bool TattooScene::loadScene(const Common::String &filename) { } } - // Set the NPC paths for the scene - setNPCPath(WATSON); - // Handle loading music for the scene if (talk._scriptMoreFlag != 1 && talk._scriptMoreFlag != 3) music._nextSongName = Common::String::format("res%02d", _currentScene); + // Set the NPC paths for the scene + setNPCPath(WATSON); + // If it's a new song, then start it up if (music._currentSongName.compareToIgnoreCase(music._nextSongName)) { + // WORKAROUND: Stop playing music after Diogenes fire scene in the intro, + // since it overlaps slightly into the next scene + if (talk._scriptName == "prol80p" && _currentScene == 80) { + music.stopMusic(); + events.wait(5); + } + if (music.loadSong(music._nextSongName)) { if (music._musicOn) music.startSong(); |