[Scummvm-cvs-logs] CVS: scummvm/queen cutaway.cpp,1.8,1.9

Joost Peters joostp at users.sourceforge.net
Mon Oct 6 07:03:13 CEST 2003


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv7095/queen

Modified Files:
	cutaway.cpp 
Log Message:
forgot this

Index: cutaway.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/cutaway.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cutaway.cpp	5 Oct 2003 16:07:07 -0000	1.8
+++ cutaway.cpp	6 Oct 2003 14:01:41 -0000	1.9
@@ -868,9 +868,9 @@
 	//  Make sure that WALK_OFF_DATA is copied too!
 
 	for (int i = 1; i <= _logic->walkOffCount(); i++) {
-		uint16* walkOffData = _logic->walkOffData(i);
-		if (walkOffData[0] == dummyObjectIndex) {
-			walkOffData[0] = realObjectIndex;
+		WalkOffData *walkOffData = _logic->walkOffData(i);
+		if (walkOffData->entryObj == (int16)dummyObjectIndex) {
+			walkOffData->entryObj = (int16)realObjectIndex;
 			break;
 		}
 	}





More information about the Scummvm-git-logs mailing list