[Scummvm-git-logs] scummvm master -> 409e069a51248887ff9c79b62e9ea3239370f9a9
AndywinXp
noreply at scummvm.org
Tue Aug 27 19:33:24 UTC 2024
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:
409e069a51 SCUMM: V0/V1 - Workaround for original blocker bug in V0/V1 Zak that prevented Annie from picking up the crystal shard f
Commit: 409e069a51248887ff9c79b62e9ea3239370f9a9
https://github.com/scummvm/scummvm/commit/409e069a51248887ff9c79b62e9ea3239370f9a9
Author: Robert Megone (robert.megone at gmail.com)
Date: 2024-08-27T21:33:21+02:00
Commit Message:
SCUMM: V0/V1 - Workaround for original blocker bug in V0/V1 Zak that prevented Annie from picking up the crystal shard from the statue in Mexico.
Changed paths:
engines/scumm/script.cpp
diff --git a/engines/scumm/script.cpp b/engines/scumm/script.cpp
index f22dbc7151a..b593d60a891 100644
--- a/engines/scumm/script.cpp
+++ b/engines/scumm/script.cpp
@@ -49,7 +49,16 @@ void ScummEngine::runScript(int script, bool freezeResistant, bool recursive, in
if (enhancementEnabled(kEnhGameBreakingBugFixes) && _game.id == GID_MANIAC &&
_game.version == 0 && (_game.features & GF_DEMO) && script == 43)
return;
-
+
+ // WORKAROUND for bug in v0/v1 Zak McKracken:
+ // Picking up the yellow shard in the Mexican Temple while playing as Annie was not possible.
+ // This was fixed in v2.
+ if (enhancementEnabled(kEnhGameBreakingBugFixes) && _game.id == GID_ZAK &&
+ _game.version < 2 && script == 119 && VAR(VAR_EGO) == 2) {
+ addObjectToInventory(56, 14);
+ putOwner(56, VAR(VAR_EGO));
+ }
+
if (!script)
return;
More information about the Scummvm-git-logs
mailing list