diff options
author | Martin Kiewitz | 2015-06-11 12:44:37 +0200 |
---|---|---|
committer | Martin Kiewitz | 2015-06-11 12:44:37 +0200 |
commit | 252b4d13171093ec90289e887bab891f591fe59c (patch) | |
tree | 4c5a57feab649da9d81c2e301898d437d6ac5239 /engines/sherlock | |
parent | d86bec542c37bef630ab05fb03345cb02d546e7f (diff) | |
download | scummvm-rg350-252b4d13171093ec90289e887bab891f591fe59c.tar.gz scummvm-rg350-252b4d13171093ec90289e887bab891f591fe59c.tar.bz2 scummvm-rg350-252b4d13171093ec90289e887bab891f591fe59c.zip |
SHERLOCK: always stop music after intro
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/scalpel/scalpel.cpp | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp index 6192a2b65b..b8baf40e2c 100644 --- a/engines/sherlock/scalpel/scalpel.cpp +++ b/engines/sherlock/scalpel/scalpel.cpp @@ -236,31 +236,35 @@ void ScalpelEngine::initialize() { } void ScalpelEngine::showOpening() { + bool finished = true; + if (isDemo() && _interactiveFl) return; if (getPlatform() == Common::kPlatform3DO) { show3DOSplash(); - if (!showCityCutscene3DO()) - return; - if (!showAlleyCutscene3DO()) - return; - if (!showStreetCutscene3DO()) - return; - if (!showOfficeCutscene3DO()) - return; + + finished = showCityCutscene3DO(); + if (finished) + finished = showAlleyCutscene3DO(); + if (finished) + finished = showStreetCutscene3DO(); + if (finished) + finished = showOfficeCutscene3DO(); + + _events->clearEvents(); + _music->stopMusic(); return; } TsAGE::Logo::show(this); - if (!showCityCutscene()) - return; - if (!showAlleyCutscene()) - return; - if (!showStreetCutscene()) - return; - if (!showOfficeCutscene()) - return; + finished = showCityCutscene(); + if (finished) + finished = showAlleyCutscene(); + if (finished) + finished = showStreetCutscene(); + if (finished) + finished = showOfficeCutscene(); _events->clearEvents(); _music->stopMusic(); |