[Scummvm-git-logs] scummvm branch-2-5 -> bd2bf31c5fd8bb0d40226094d67775c12b0aa095

eriktorbjorn noreply at scummvm.org
Wed Feb 23 10:47:54 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
bd2bf31c5f SCUMM: Fix regression in ScummEngine_v5::decodeParseString()


Commit: bd2bf31c5fd8bb0d40226094d67775c12b0aa095
    https://github.com/scummvm/scummvm/commit/bd2bf31c5fd8bb0d40226094d67775c12b0aa095
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2022-02-23T11:47:37+01:00

Commit Message:
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.

Changed paths:
    engines/scumm/script_v5.cpp


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);




More information about the Scummvm-git-logs mailing list