aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorChristopher Page2008-06-26 22:03:49 +0000
committerChristopher Page2008-06-26 22:03:49 +0000
commitd0dcc1ad7943a528f0f4f016a64ee45251adb6a8 (patch)
treeecc910e2cc1024a51291ee23751fcfe269652f66 /engines
parentc9a8fb25f3ce5c1e69c1cb16a788167a648d68ea (diff)
downloadscummvm-rg350-d0dcc1ad7943a528f0f4f016a64ee45251adb6a8.tar.gz
scummvm-rg350-d0dcc1ad7943a528f0f4f016a64ee45251adb6a8.tar.bz2
scummvm-rg350-d0dcc1ad7943a528f0f4f016a64ee45251adb6a8.zip
Quit or RTL from the main menu now triggers an EVENT_QUIT in DefaultEventManager::pollEvent()
svn-id: r32813
Diffstat (limited to 'engines')
-rw-r--r--engines/sky/intro.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sky/intro.cpp b/engines/sky/intro.cpp
index 56c2fff1b4..51160924da 100644
--- a/engines/sky/intro.cpp
+++ b/engines/sky/intro.cpp
@@ -911,8 +911,7 @@ bool Intro::escDelay(uint32 msecs) {
if (event.type == Common::EVENT_KEYDOWN) {
if (event.kbd.keycode == Common::KEYCODE_ESCAPE)
return false;
- } else if (event.type == Common::EVENT_QUIT || g_engine->_quit) {
- g_engine->_quit = true;
+ } else if (event.type == Common::EVENT_QUIT) {
return false;
}
}