aboutsummaryrefslogtreecommitdiff
path: root/backends/events
diff options
context:
space:
mode:
authorChristopher Page2008-07-11 00:49:01 +0000
committerChristopher Page2008-07-11 00:49:01 +0000
commit67c8c39fdf4ae01c0d4a1c6ce97afd720eb4be4e (patch)
tree96f9d8cb30893d374f6142c94e00851682c78dea /backends/events
parentb519013925608162f986ebc4983914ff37b559d3 (diff)
downloadscummvm-rg350-67c8c39fdf4ae01c0d4a1c6ce97afd720eb4be4e.tar.gz
scummvm-rg350-67c8c39fdf4ae01c0d4a1c6ce97afd720eb4be4e.tar.bz2
scummvm-rg350-67c8c39fdf4ae01c0d4a1c6ce97afd720eb4be4e.zip
Queen works with the new GMM implementation, and made a correction to a change in parallaction
svn-id: r32999
Diffstat (limited to 'backends/events')
-rw-r--r--backends/events/default/default-events.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/events/default/default-events.cpp b/backends/events/default/default-events.cpp
index c56ceb0204..24750d038c 100644
--- a/backends/events/default/default-events.cpp
+++ b/backends/events/default/default-events.cpp
@@ -435,6 +435,8 @@ bool DefaultEventManager::pollEvent(Common::Event &event) {
case Common::EVENT_MAINMENU:
if (g_engine && !g_engine->isPaused())
g_engine->mainMenuDialog();
+ if (_shouldQuit)
+ event.type = Common::EVENT_QUIT;
break;
case Common::EVENT_RTL: