aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/dialogs.cpp')
-rw-r--r--engines/mohawk/dialogs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mohawk/dialogs.cpp b/engines/mohawk/dialogs.cpp
index a4ac2da66c..f1a5586127 100644
--- a/engines/mohawk/dialogs.cpp
+++ b/engines/mohawk/dialogs.cpp
@@ -91,17 +91,17 @@ MystOptionsDialog::~MystOptionsDialog() {
void MystOptionsDialog::open() {
Dialog::open();
- _zipModeCheckbox->setState(_vm->_zipMode);
- _transitionsCheckbox->setState(_vm->_transitionsEnabled);
+ _zipModeCheckbox->setState(_vm->_gameState->_globals.zipMode);
+ _transitionsCheckbox->setState(_vm->_gameState->_globals.transitions);
}
void MystOptionsDialog::handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data) {
switch (cmd) {
case kZipCmd:
- _vm->_zipMode = _zipModeCheckbox->getState();
+ _vm->_gameState->_globals.zipMode = _zipModeCheckbox->getState();
break;
case kTransCmd:
- _vm->_transitionsEnabled = _transitionsCheckbox->getState();
+ _vm->_gameState->_globals.transitions = _transitionsCheckbox->getState();
break;
case GUI::kCloseCmd:
close();