aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2011-07-27 12:51:41 +0100
committerD G Turner2011-07-27 12:51:41 +0100
commitf487092c9a60cf920f0657a96790d613af45ed0e (patch)
tree8899df6b58ec383217e4dc7103b175c07a52521f
parente02276cab12a5c94f65403e922ed70e3b12b311b (diff)
downloadscummvm-rg350-f487092c9a60cf920f0657a96790d613af45ed0e.tar.gz
scummvm-rg350-f487092c9a60cf920f0657a96790d613af45ed0e.tar.bz2
scummvm-rg350-f487092c9a60cf920f0657a96790d613af45ed0e.zip
MOHAWK: Corrected Regression due to minor typo in Myst o_disableAreas.
Thanks to bgKa for looking at this.
-rw-r--r--engines/mohawk/myst_scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/myst_scripts.cpp b/engines/mohawk/myst_scripts.cpp
index 307be2dd05..ca8e985491 100644
--- a/engines/mohawk/myst_scripts.cpp
+++ b/engines/mohawk/myst_scripts.cpp
@@ -500,7 +500,7 @@ void MystScriptParser::o_disableAreas(uint16 op, uint16 var, uint16 argc, uint16
resource = _vm->_resources[argv[i + 1]];
if (resource)
- resource->setEnabled(true);
+ resource->setEnabled(false);
else
warning("Unknown Resource in disableAreas script Opcode");
}