aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/cge2_main.cpp
diff options
context:
space:
mode:
authorPeter Bozsó2014-09-07 10:40:03 +0200
committerPeter Bozsó2014-09-07 10:45:29 +0200
commitda1b76be4d7fd477ba75ca8b04a961d7ab7cd0ef (patch)
tree98dd4254e25fb4743f865e0533f8b73075ac0c3a /engines/cge2/cge2_main.cpp
parent261d15d007d83e3087699068e3f46a8f250dd757 (diff)
downloadscummvm-rg350-da1b76be4d7fd477ba75ca8b04a961d7ab7cd0ef.tar.gz
scummvm-rg350-da1b76be4d7fd477ba75ca8b04a961d7ab7cd0ef.tar.bz2
scummvm-rg350-da1b76be4d7fd477ba75ca8b04a961d7ab7cd0ef.zip
Revert "CGE2: Make the intro skippable."
This reverts commit 5e099e90bcdfb87c289b919ddac60e60fbf6bdd7. There's no need for this addition, since the intro was skippable before that too, by hitting the ESC key. See System::touch().
Diffstat (limited to 'engines/cge2/cge2_main.cpp')
-rw-r--r--engines/cge2/cge2_main.cpp8
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() {