[Scummvm-cvs-logs] CVS: scummvm/scumm script_v1.cpp,1.18,1.19

Jonathan Gray khalek at users.sourceforge.net
Sat Nov 9 17:23:06 CET 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv6372

Modified Files:
	script_v1.cpp 
Log Message:
add back code that was removed in rev 1.16 with a room specific check, so trains in the lucasfilm games logo in indy3 work the way they should. Maybe a look at the dissasembly of setClass for indy3 is in order...

Index: script_v1.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v1.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- script_v1.cpp	9 Nov 2002 16:56:20 -0000	1.18
+++ script_v1.cpp	10 Nov 2002 01:22:39 -0000	1.19
@@ -525,6 +525,11 @@
 			continue;
 		}
 
+		// FIXME hack to make trains in lucasfilm games logo work
+		// the way they should
+		if ((_gameId == GID_INDY3_256) && (_currentRoom == 76))
+			newClass--;
+		
 		putClass(obj, newClass, (newClass & 0x80) ? true : false);
 	}
 }





More information about the Scummvm-git-logs mailing list