aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2
diff options
context:
space:
mode:
authoruruk2014-07-30 09:01:18 +0200
committeruruk2014-07-30 09:01:18 +0200
commit6b48172ae1b6fe1f40709b7d70283deaed9bf86d (patch)
treec9d5ed5d2506a72a4e91b9b90211c97c60642bdc /engines/cge2
parent4139e79fccbc47c4d291371c8baf79b6e143eb62 (diff)
downloadscummvm-rg350-6b48172ae1b6fe1f40709b7d70283deaed9bf86d.tar.gz
scummvm-rg350-6b48172ae1b6fe1f40709b7d70283deaed9bf86d.tar.bz2
scummvm-rg350-6b48172ae1b6fe1f40709b7d70283deaed9bf86d.zip
CGE2: Disable checking the sound options while the intro animation is running.
Since there are no toolbar during the intro, checking it's buttons would cause a crash.
Diffstat (limited to 'engines/cge2')
-rw-r--r--engines/cge2/cge2_main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp
index 9bdd57a50c..c1a47b8000 100644
--- a/engines/cge2/cge2_main.cpp
+++ b/engines/cge2/cge2_main.cpp
@@ -523,7 +523,8 @@ void CGE2Engine::showBak(int ref) {
}
void CGE2Engine::mainLoop() {
- checkSounds();
+ if (_startupMode == 0)
+ checkSounds();
_vga->show();
_commandHandlerTurbo->runCommand();