diff options
Diffstat (limited to 'engines/cge2/cge2_main.cpp')
-rw-r--r-- | engines/cge2/cge2_main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp index 3a994dd0f5..c52a354f9e 100644 --- a/engines/cge2/cge2_main.cpp +++ b/engines/cge2/cge2_main.cpp @@ -396,7 +396,7 @@ void CGE2Engine::movie(const char *ext) { sceneUp(_now); _keyboard->setClient(_sys); - while (!_commandHandler->idle() && !_quitFlag && !_skipIntro) + while (!_commandHandler->idle() && !_quitFlag) mainLoop(); _keyboard->setClient(nullptr); @@ -532,11 +532,11 @@ void CGE2Engine::mainLoop() { // Handle a delay between game frames handleFrame(); - // Check shouldQuit() - _quitFlag = shouldQuit(); - // Handle any pending events _eventManager->poll(); + + // Check shouldQuit() + _quitFlag = shouldQuit(); } void CGE2Engine::checkSounds() { |