From 6b48172ae1b6fe1f40709b7d70283deaed9bf86d Mon Sep 17 00:00:00 2001 From: uruk Date: Wed, 30 Jul 2014 09:01:18 +0200 Subject: 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. --- engines/cge2/cge2_main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/cge2/cge2_main.cpp') 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(); -- cgit v1.2.3