diff options
author | uruk | 2014-07-30 09:01:18 +0200 |
---|---|---|
committer | uruk | 2014-07-30 09:01:18 +0200 |
commit | 6b48172ae1b6fe1f40709b7d70283deaed9bf86d (patch) | |
tree | c9d5ed5d2506a72a4e91b9b90211c97c60642bdc | |
parent | 4139e79fccbc47c4d291371c8baf79b6e143eb62 (diff) | |
download | scummvm-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.
-rw-r--r-- | engines/cge2/cge2_main.cpp | 3 |
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(); |