[Scummvm-cvs-logs] scummvm master -> f487092c9a60cf920f0657a96790d613af45ed0e

digitall digitall at scummvm.org
Wed Jul 27 13:56:40 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
f487092c9a MOHAWK: Corrected Regression due to minor typo in Myst o_disableAreas.


Commit: f487092c9a60cf920f0657a96790d613af45ed0e
    https://github.com/scummvm/scummvm/commit/f487092c9a60cf920f0657a96790d613af45ed0e
Author: D G Turner (digitall at scummvm.org)
Date: 2011-07-27T04:51:41-07:00

Commit Message:
MOHAWK: Corrected Regression due to minor typo in Myst o_disableAreas.

Thanks to bgKa for looking at this.

Changed paths:
    engines/mohawk/myst_scripts.cpp



diff --git a/engines/mohawk/myst_scripts.cpp b/engines/mohawk/myst_scripts.cpp
index 307be2d..ca8e985 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");
 		}






More information about the Scummvm-git-logs mailing list