From 0382e990ec5b2f00860901f443f8ddcf22f68ed0 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 25 Aug 2011 03:06:20 +0300 Subject: SCI: Fixed QFG3 bug #3377429, by removing the problematic script patch for script 23 (bug #3040722). This script patch messes up the conversation with Manu the monkey later on in the game, thus it's not correct. --- engines/sci/engine/script_patches.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'engines/sci/engine') diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp index a714980a35..7efcb42f4b 100644 --- a/engines/sci/engine/script_patches.cpp +++ b/engines/sci/engine/script_patches.cpp @@ -855,26 +855,8 @@ const uint16 qfg3PatchImportDialog[] = { PATCH_END }; -// Script 23 in QFG3 has a typo/bug which makes it loop endlessly and -// read garbage. Fixes bug #3040722. -const byte qfg3DialogCrash[] = { - 5, - 0x34, 0xe7, 0x03, // ldi 3e7 (999) - 0x22, // lt? - 0x33, // jmp [back] ---> BUG! Infinite loop - 0 -}; - -const uint16 qfg3PatchDialogCrash[] = { - 0x34, 0xe7, 0x03, // ldi 3e7 (999) - 0x22, // lt? - 0x31, // bnt [back] - PATCH_END -}; - // script, description, magic DWORD, adjust const SciScriptSignature qfg3Signatures[] = { - { 23, "dialog crash", 1, PATCH_MAGICDWORD(0xe7, 0x03, 0x22, 0x33), -1, qfg3DialogCrash, qfg3PatchDialogCrash }, { 944, "import dialog continuous calls", 1, PATCH_MAGICDWORD(0x2a, 0x31, 0x0b, 0x7a), -1, qfg3SignatureImportDialog, qfg3PatchImportDialog }, SCI_SIGNATUREENTRY_TERMINATOR }; -- cgit v1.2.3