aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorChristopher Page2008-07-02 00:30:49 +0000
committerChristopher Page2008-07-02 00:30:49 +0000
commita14a0d16c1d3038b320a21246443e6d855fc2787 (patch)
tree2bb11d9a13844f21e972aa7c09f5cf5047dcbe62 /engines
parent718a85e30d26a8b3167842fe9ea24b648647fa72 (diff)
downloadscummvm-rg350-a14a0d16c1d3038b320a21246443e6d855fc2787.tar.gz
scummvm-rg350-a14a0d16c1d3038b320a21246443e6d855fc2787.tar.bz2
scummvm-rg350-a14a0d16c1d3038b320a21246443e6d855fc2787.zip
Changes to implementation of the GMM
svn-id: r32872
Diffstat (limited to 'engines')
-rw-r--r--engines/dialogs.cpp3
-rw-r--r--engines/dialogs.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/dialogs.cpp b/engines/dialogs.cpp
index 53dc413236..6d29135aca 100644
--- a/engines/dialogs.cpp
+++ b/engines/dialogs.cpp
@@ -108,11 +108,14 @@ void MainMenuDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
_aboutDialog->runModal();
break;
case kRTLCmd:
+ //g_system->getEventManager()->setQuit();
+ //g_system->getEventManager()->setRTL();
_engine->_quit = true;
_engine->_rtl = true;
close();
break;
case kQuitCmd:
+ //g_system->getEventManager()->setQuit();
_engine->_quit = true;
close();
break;
diff --git a/engines/dialogs.h b/engines/dialogs.h
index 5bacd45c2e..dc6bff4dd6 100644
--- a/engines/dialogs.h
+++ b/engines/dialogs.h
@@ -46,6 +46,7 @@ class MainMenuDialog : public GlobalDialog {
public:
MainMenuDialog(Engine *engine);
~MainMenuDialog();
+
virtual void handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data);
protected: