[Scummvm-git-logs] scummvm master -> 66f00128f05f3bdc948080cdb2c5302b4d4a4093
sluicebox
noreply at scummvm.org
Thu Jan 29 01:17:50 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
66f00128f0 SCI32: Fix LSL6HIRES locker room pathfinding
Commit: 66f00128f05f3bdc948080cdb2c5302b4d4a4093
https://github.com/scummvm/scummvm/commit/66f00128f05f3bdc948080cdb2c5302b4d4a4093
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2026-01-28T17:17:40-08:00
Commit Message:
SCI32: Fix LSL6HIRES locker room pathfinding
Fixes bug #13804
Changed paths:
engines/sci/engine/script_patches.cpp
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index b094bd90971..3c8209d0a78 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -10487,6 +10487,26 @@ static const uint16 larry6HiresTramRestartPatch[] = {
PATCH_END
};
+// WORKAROUND: Pathfinding algorithm difference
+//
+// After wearing a towel in the locker room, Larry is placed on an obstacle
+// boundary and can walk out of bounds. We move him one pixel to the right.
+//
+// Applies to: All versions
+// Responsible method: wearTowel:changeState(9)
+// Fixes bug: #13804
+static const uint16 larry6HiresLockerPathfindingSignature[] = {
+ SIG_MAGICDWORD,
+ 0x39, 0x53, // pushi 53 [ x: 83 ]
+ 0x39, 0x6a, // pushi 6a [ y: 106 ]
+ SIG_END
+};
+
+static const uint16 larry6HiresLockerPathfindingPatch[] = {
+ 0x39, 0x54, // pushi 54 [ x: 84 ]
+ PATCH_END
+};
+
// script, description, signature patch
static const SciScriptPatcherEntry larry6HiresSignatures[] = {
{ true, 0, "disable mac volume restore", 1, larry6HiresMacVolumeRestoreSignature, larry6HiresMacVolumeRestorePatch },
@@ -10499,6 +10519,7 @@ static const SciScriptPatcherEntry larry6HiresSignatures[] = {
{ true, 100, "fix plane width", 1, larry6HiresPlaneWidthSignature, larry6HiresPlaneWidthPatch },
{ true, 270, "fix incorrect setScale call", 1, larry6HiresSetScaleSignature, larry6HiresSetScalePatch },
{ true, 330, "fix whale oil lamp lockup", 1, larry6HiresWhaleOilLampSignature, larry6HiresWhaleOilLampPatch },
+ { true, 340, "fix locker pathfinding", 1, larry6HiresLockerPathfindingSignature,larry6HiresLockerPathfindingPatch },
{ true, 610, "phone operator crash", 1, larry6HiresPhoneOperatorSignature, larry6HiresPhoneOperatorPatch },
{ true, 620, "bathroom door sound", 1, larry6HiresBathroomDoorSoundSignature,larry6HiresBathroomDoorSoundPatch },
{ true, 680, "room 680 exits", 1, larry6HiresRoom680ExitsSignature, larry6HiresRoom680ExitsPatch },
More information about the Scummvm-git-logs
mailing list