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

bluegr noreply at scummvm.org
Wed Oct 7 08:43:23 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:
bd56cd6949 NANCY: Fix build


Commit: bd56cd6949ae72118d53bd3d6d118c949e625f57
    https://github.com/scummvm/scummvm/commit/bd56cd6949ae72118d53bd3d6d118c949e625f57
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-10-07T11:43:19+03:00

Commit Message:
NANCY: Fix build

Add misplaced line for commit da05d83

Part of the fix for bug #17303

Changed paths:
    engines/nancy/action/puzzle/rippedletterpuzzle.cpp


diff --git a/engines/nancy/action/puzzle/rippedletterpuzzle.cpp b/engines/nancy/action/puzzle/rippedletterpuzzle.cpp
index fbf74e5348f..ab1b828ef67 100644
--- a/engines/nancy/action/puzzle/rippedletterpuzzle.cpp
+++ b/engines/nancy/action/puzzle/rippedletterpuzzle.cpp
@@ -464,6 +464,7 @@ Common::Rect RippedLetterPuzzle::getPieceHotspot(const Common::Rect &hotspot, co
 	// Earlier games use empty hotspots to disable an action (e.g. the rotation
 	// in nancy6 scene 2154, where pieces can only be swapped)
 	const bool wholePiece = g_nancy->getGameType() >= kGameTypeNancy14 && !hotspot.height();
+	Common::Rect ret = wholePiece ? Common::Rect(screenRect.width(), screenRect.height()) : hotspot;
 	ret.translate(screenRect.left, screenRect.top);
 	return ret;
 }




More information about the Scummvm-git-logs mailing list