[Scummvm-cvs-logs] CVS: scummvm/scumm object.cpp,1.14,1.15

Jonathan Gray khalek at users.sourceforge.net
Sun Nov 10 01:15:02 CET 2002


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

Modified Files:
	object.cpp 
Log Message:
properly translate class, read (i want my trains back), I'm told this will require regression testing for at least loom and zak by ender

Index: object.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/object.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- object.cpp	9 Nov 2002 07:13:30 -0000	1.14
+++ object.cpp	10 Nov 2002 09:14:20 -0000	1.15
@@ -38,6 +38,8 @@
 
 		if (cls == 32)							// CLASS_TOUCHABLE
 			cls = 24;
+		if (cls == 22)
+			cls = 21;
 	}
 	return (_classData[obj] & (1 << (cls - 1))) != 0;
 }
@@ -55,6 +57,8 @@
 
 		if (cls == 32)							// CLASS_TOUCHABLE
 			cls = 24;
+		if (cls == 22)
+			cls = 21;
 	}
 
 	if (set)





More information about the Scummvm-git-logs mailing list