[Scummvm-git-logs] scummvm master -> bcc4aea1db8a861a648f3a09667d5b3cd720ccb4

Strangerke noreply at scummvm.org
Fri Jan 30 08:04:45 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:
bcc4aea1db M4: RIDDLE: Fix bug in room 809 (lake): looking at an object at the left or Ripley made him walk completely to the left 


Commit: bcc4aea1db8a861a648f3a09667d5b3cd720ccb4
    https://github.com/scummvm/scummvm/commit/bcc4aea1db8a861a648f3a09667d5b3cd720ccb4
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2026-01-30T09:04:19+01:00

Commit Message:
M4: RIDDLE: Fix bug in room 809 (lake): looking at an object at the left or Ripley made him walk completely to the left of the screen

Changed paths:
    engines/m4/riddle/rooms/section8/room809.cpp


diff --git a/engines/m4/riddle/rooms/section8/room809.cpp b/engines/m4/riddle/rooms/section8/room809.cpp
index 80ae6431a82..381f0889c24 100644
--- a/engines/m4/riddle/rooms/section8/room809.cpp
+++ b/engines/m4/riddle/rooms/section8/room809.cpp
@@ -168,7 +168,7 @@ void Room809::parser() {
 			int32 destY;
 			player_update_info(_G(my_walker), &_G(player_info));
 			if (_G(player_info).x >= _G(player).click_x) {
-				destX = imath_min(145, _G(player).x + 20);
+				destX = imath_min(_G(player_info).x, _G(player).click_x + 20);
 				destX = imath_max(destX, 145);
 				if (_G(player).click_y < 315) {
 					if (_playerFacing < 0)




More information about the Scummvm-git-logs mailing list