From bb932595d844c86cd3d775d316c2285ef73f0df8 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Thu, 12 Aug 2010 14:01:28 +0000 Subject: SCI: adjusting laurabow2 patch signature for laurabow2 floppy. In floppy the bug doesn't occur, we fix the code nonetheless svn-id: r52040 --- engines/sci/engine/script_patches.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp index 1f6ac3c9d0..3ec5e7331e 100644 --- a/engines/sci/engine/script_patches.cpp +++ b/engines/sci/engine/script_patches.cpp @@ -364,9 +364,9 @@ const SciScriptSignature larry6Signatures[] = { // =========================================================================== // rm560::doit was supposed to close the painting, when heimlich enters the // room. The code is buggy, so it actually closes the painting, when heimlich -// is not in the room. We fix that. (only happens in laura bow 2 cd) +// is not in the room. We fix that. const byte laurabow2SignaturePaintingClosing[] = { - 19, + 17, 0x4a, 0x04, // send 04 (gets aHeimlich::room) 0x36, // push 0x81, 0x0b, // lag global[11d] -> current room @@ -376,7 +376,7 @@ const byte laurabow2SignaturePaintingClosing[] = { 0xa3, 0x00, // sal local[0] 0x38, 0x92, 0x00, // pushi 0092 0x78, // push1 - 0x72, 0xee, 0x0a, // lofsa sDumpSafe + 0x72, // lofsa sDumpSafe 0 }; @@ -388,7 +388,7 @@ const uint16 laurabow2PatchPaintingClosing[] = { // script, description, magic DWORD, adjust const SciScriptSignature laurabow2Signatures[] = { - { 560, "CD: painting closing immediately", PATCH_MAGICDWORD(0x36, 0x81, 0x0b, 0x1c), -2, laurabow2SignaturePaintingClosing, laurabow2PatchPaintingClosing }, + { 560, "painting closing immediately", PATCH_MAGICDWORD(0x36, 0x81, 0x0b, 0x1c), -2, laurabow2SignaturePaintingClosing, laurabow2PatchPaintingClosing }, { 0, NULL, 0, 0, NULL, NULL } }; -- cgit v1.2.3