[Scummvm-git-logs] scummvm master -> 907feaf84ca157dd698cfb0b5dad41f9e5ed3969

eriktorbjorn noreply at scummvm.org
Wed Feb 23 10:45:47 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:
907feaf84c SCUMM: Fix regression in ScummEngine_v5::decodeParseString()


Commit: 907feaf84ca157dd698cfb0b5dad41f9e5ed3969
    https://github.com/scummvm/scummvm/commit/907feaf84ca157dd698cfb0b5dad41f9e5ed3969
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2022-02-23T11:45:18+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 caca301966b..f485e7f8542 100644
--- a/engines/scumm/script_v5.cpp
+++ b/engines/scumm/script_v5.cpp
@@ -2894,7 +2894,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