From 5f5e96e24f9864c185846a9257b61ea26dc51a34 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Wed, 25 Dec 2002 19:30:59 +0000 Subject: added some stuff to lock/unlock object v2 svn-id: r6142 --- scumm/script_v8.cpp | 8 ++++++-- 1 file 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); -- cgit v1.2.3