[Scummvm-cvs-logs] CVS: scummvm/scumm script_v8.cpp,2.41,2.42

Pawel Kolodziejski aquadran at users.sourceforge.net
Wed Dec 25 11:32:02 CET 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv25980

Modified Files:
	script_v8.cpp 
Log Message:
added some stuff to lock/unlock object v2

Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.41
retrieving revision 2.42
diff -u -d -r2.41 -r2.42
--- script_v8.cpp	25 Dec 2002 19:24:31 -0000	2.41
+++ script_v8.cpp	25 Dec 2002 19:30:59 -0000	2.42
@@ -1174,12 +1174,16 @@
 	case 11:	// lockObject
 		warning("o6_kernelSetFunctions: lockObject(%d)", args[1]);
 //		getObjectIndex(args[1]);
-//		ObjData.field_24 = 1;
+//		if (ObjData.field28 != 0) {
+//			ObjData.field32 = 1;
+//		}
 		break;
 	case 12:	// unlockObject
 		warning("o6_kernelSetFunctions: unlockObject(%d)", args[1]);
 //		getObjectIndex(args[1]);
-//		ObjData.field_24 = 0;
+//		if (ObjData.field28 != 0) {
+//			ObjData.field32 = 0;
+//		}
 		break;
 	case 13:	// remapCostume
 		derefActorSafe(args[1], "o6_kernelSetFunctions:remapCostume")->remapActorPalette(args[2], args[3], args[4], -1);





More information about the Scummvm-git-logs mailing list