[Scummvm-cvs-logs] SF.net SVN: scummvm: [25958] scummvm/trunk/engines/scumm/script.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Sun Mar 4 01:44:05 CET 2007


Revision: 25958
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25958&view=rev
Author:   kirben
Date:     2007-03-03 16:44:04 -0800 (Sat, 03 Mar 2007)

Log Message:
-----------
Fix script error in PC Engine version of Loom.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/script.cpp

Modified: scummvm/trunk/engines/scumm/script.cpp
===================================================================
--- scummvm/trunk/engines/scumm/script.cpp	2007-03-04 00:43:40 UTC (rev 25957)
+++ scummvm/trunk/engines/scumm/script.cpp	2007-03-04 00:44:04 UTC (rev 25958)
@@ -556,7 +556,8 @@
 			assertRange(0, var, _numRoomVariables - 1, "room variable (reading)");
 			return _roomVars[var];
 
-		} else if (_game.version <= 3 && !(_game.id == GID_INDY3 && (_game.platform == Common::kPlatformFMTowns))) {
+		} else if (_game.version <= 3 && !(_game.id == GID_INDY3 && _game.platform == Common::kPlatformFMTowns) &&
+			!(_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine)) {
 			int bit = var & 0xF;
 			var = (var >> 4) & 0xFF;
 
@@ -648,7 +649,8 @@
 			assertRange(0, var, _numRoomVariables - 1, "room variable (writing)");
 			_roomVars[var] = value;
 
-		} else if (_game.version <= 3 && !(_game.id == GID_INDY3 && (_game.platform == Common::kPlatformFMTowns))) {
+		} else if (_game.version <= 3 && !(_game.id == GID_INDY3 && _game.platform == Common::kPlatformFMTowns) &&
+			!(_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine)) {
 			// In the old games, the bit variables were using the same memory
 			// as the normal variables!
 			int bit = var & 0xF;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list