aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/dialogs.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2011-08-07 11:27:50 +0200
committerBastien Bouclet2011-08-07 16:54:19 +0200
commitb15ad58f1192b6f8d521b92bf5c3eba321c675c2 (patch)
treec91803d018eb473871fa777e73fe439f219f9a79 /engines/mohawk/dialogs.cpp
parentacffd12d0718ceb0be4cf18c7d60ead33723fd9c (diff)
downloadscummvm-rg350-b15ad58f1192b6f8d521b92bf5c3eba321c675c2.tar.gz
scummvm-rg350-b15ad58f1192b6f8d521b92bf5c3eba321c675c2.tar.bz2
scummvm-rg350-b15ad58f1192b6f8d521b92bf5c3eba321c675c2.zip
MOHAWK: Disable zip mode in Myst demo
Diffstat (limited to 'engines/mohawk/dialogs.cpp')
-rw-r--r--engines/mohawk/dialogs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mohawk/dialogs.cpp b/engines/mohawk/dialogs.cpp
index 6cb455917e..11e050aa72 100644
--- a/engines/mohawk/dialogs.cpp
+++ b/engines/mohawk/dialogs.cpp
@@ -113,6 +113,10 @@ void MystOptionsDialog::open() {
_showMapButton->setEnabled(_vm->_scriptParser &&
_vm->_scriptParser->getMap());
+ // Zip mode is disabled in the demo
+ if (_vm->getFeatures() & GF_DEMO)
+ _zipModeCheckbox->setEnabled(false);
+
_zipModeCheckbox->setState(_vm->_gameState->_globals.zipMode);
_transitionsCheckbox->setState(_vm->_gameState->_globals.transitions);
}