[Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.241,1.242

Max Horn fingolfin at users.sourceforge.net
Sun Jan 22 13:29:02 CET 2006


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2928

Modified Files:
	script.cpp 
Log Message:
Overlooked the Indy3 FM-TOWNS case in my previous commit <sigh>

Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
retrieving revision 1.241
retrieving revision 1.242
diff -u -d -r1.241 -r1.242
--- script.cpp	22 Jan 2006 21:05:38 -0000	1.241
+++ script.cpp	22 Jan 2006 21:28:37 -0000	1.242
@@ -531,7 +531,7 @@
 			checkRange(_numRoomVariables - 1, 0, var, "Room variable %d out of range(w)");
 			return _roomVars[var];
 
-		} else if (_version <= 3) {
+		} else if (_version <= 3 && !(_gameId == GID_INDY3 && (_platform == Common::kPlatformFMTowns))) {
 			int bit = var & 0xF;
 			var = (var >> 4) & 0xFF;
 
@@ -620,7 +620,7 @@
 			checkRange(_numRoomVariables - 1, 0, var, "Room variable %d out of range(w)");
 			_roomVars[var] = value;
 
-		} else if (_version <= 3) {
+		} else if (_version <= 3 && !(_gameId == GID_INDY3 && (_platform == Common::kPlatformFMTowns))) {
 			// In the old games, the bit variables were using the same memory
 			// as the normal variables!
 			int bit = var & 0xF;





More information about the Scummvm-git-logs mailing list