[Scummvm-git-logs] scummvm master -> 41895cc22c74358b455df721b15b1b7c4cbb0271

bluegr noreply at scummvm.org
Sun Aug 2 23:34:55 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:
41895cc22c CHEWY: Fix Chewy and Howard sprite placement on train


Commit: 41895cc22c74358b455df721b15b1b7c4cbb0271
    https://github.com/scummvm/scummvm/commit/41895cc22c74358b455df721b15b1b7c4cbb0271
Author: Max H. Gerlach (git at maxgerlach.de)
Date: 2026-08-03T02:34:51+03:00

Commit Message:
CHEWY: Fix Chewy and Howard sprite placement on train

This reverts a manual correction introduced in commit 7686999.

Fixes #13637, https://bugs.scummvm.org/ticket/13637

Assisted-by: Claude:claude-opus-5

Changed paths:
    engines/chewy/rooms/room40.cpp


diff --git a/engines/chewy/rooms/room40.cpp b/engines/chewy/rooms/room40.cpp
index 11c83c58c35..424e6d6acf4 100644
--- a/engines/chewy/rooms/room40.cpp
+++ b/engines/chewy/rooms/room40.cpp
@@ -186,12 +186,10 @@ void Room40::move_train(int16 mode) {
 		// Train sprite
 		_G(det)->setStaticPos(11, ax, 62, false, false);
 
-		// Chewy and Howard sprite
-		// The original offsets were ax and 62, which for some reason
-		// aren't shown correctly here (perhaps bad correction coords).
-		// Thus, adjust the coordinates here.
+		// Chewy and Howard sprite. Positioned like the train, with the
+		// sprite's own correction offset (26, 18) added.
 		if (mode && _G(gameState).ChewyAni == CHEWY_PUMPKIN)
-			_G(det)->setStaticPos(12, ax + 27, 161, false, true);
+			_G(det)->setStaticPos(12, ax, 62, false, true);
 
 		if (!delay) {
 			lx += SPEED;




More information about the Scummvm-git-logs mailing list