From bd2bf31c5fd8bb0d40226094d67775c12b0aa095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Andersson?= Date: Wed, 23 Feb 2022 11:43:05 +0100 Subject: [PATCH] SCUMM: Fix regression in ScummEngine_v5::decodeParseString() I noticed that the "I am Choas" typo in VGA Loom was no longer patched, and I'm guessing the other workarounds may have been broken too. This was a regression from when the missing Lemonhead lines in Monkey Island 1 were reinstated. --- engines/scumm/script_v5.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp index ed3fc7e913c..77e568c8fc7 100644 --- a/engines/scumm/script_v5.cpp +++ b/engines/scumm/script_v5.cpp @@ -2884,7 +2884,7 @@ void ScummEngine_v5::decodeParseString() { strcpy(tmpBuf + diff, "5000"); strcpy(tmpBuf + diff + 4, tmp + sizeof("NCREDIT-NOTE-AMOUNT") - 1); printString(textSlot, (byte *)tmpBuf); - } if (_game.id == GID_MONKEY && _roomResource == 25 && vm.slot[_currentScript].number == 205) { + } else if (_game.id == GID_MONKEY && _roomResource == 25 && vm.slot[_currentScript].number == 205) { printPatchedMI1CannibalString(textSlot, _scriptPointer); } else { printString(textSlot, _scriptPointer);