aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-12-25 19:30:59 +0000
committerPaweł Kołodziejski2002-12-25 19:30:59 +0000
commit5f5e96e24f9864c185846a9257b61ea26dc51a34 (patch)
tree77c8c3c87fbfcb915a368f96717a68f70fbe8f4b
parent3bab4d4665e73c4925458d3ef5b1f8b21e81e930 (diff)
downloadscummvm-rg350-5f5e96e24f9864c185846a9257b61ea26dc51a34.tar.gz
scummvm-rg350-5f5e96e24f9864c185846a9257b61ea26dc51a34.tar.bz2
scummvm-rg350-5f5e96e24f9864c185846a9257b61ea26dc51a34.zip
added some stuff to lock/unlock object v2
svn-id: r6142
-rw-r--r--scumm/script_v8.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 21c26e4495..26c26e25a2 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -1174,12 +1174,16 @@ void Scumm_v8::o6_kernelSetFunctions()
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);