SCI: adjusting laurabow2 patch signature

for laurabow2 floppy. In floppy the bug doesn't occur, we fix the code nonetheless

svn-id: r52040
This commit is contained in:
Martin Kiewitz 2010-08-12 14:01:28 +00:00
parent e5a8c8c544
commit bb932595d8

View File

@ -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 }
};