aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs_control_panel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/dialogs_control_panel.cpp')
-rw-r--r--engines/xeen/dialogs_control_panel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/dialogs_control_panel.cpp b/engines/xeen/dialogs_control_panel.cpp
index 5a7f593e68..d2129e46c2 100644
--- a/engines/xeen/dialogs_control_panel.cpp
+++ b/engines/xeen/dialogs_control_panel.cpp
@@ -85,7 +85,7 @@ int ControlPanel::execute() {
switch (_buttonValue) {
case Common::KEYCODE_q:
if (Confirm::show(g_vm, Res.CONFIRM_QUIT)) {
- g_vm->_quitMode = QMODE_QUIT;
+ g_vm->_gameMode = GMODE_QUIT;
result = 1;
}
break;