[Scummvm-git-logs] scummvm master -> 8b32f50184c3cd04c1931ab0cee0ccbe1e2a1159
bluegr
noreply at scummvm.org
Thu Dec 3 19:47:52 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:
8b32f50184 NANCY: Allow more than 30 buttons in KeypadTersePuzzle
Commit: 8b32f50184c3cd04c1931ab0cee0ccbe1e2a1159
https://github.com/scummvm/scummvm/commit/8b32f50184c3cd04c1931ab0cee0ccbe1e2a1159
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-12-03T21:47:35+02:00
Commit Message:
NANCY: Allow more than 30 buttons in KeypadTersePuzzle
The button count of terse keypads was limited to 30, the size of the
stored solution sequence. Their buttons are built from the grid
dimensions instead, so the limit dropped real buttons. In Nancy7
scene 5711, only the first 30 squares of the 12x6 map grid could be
clicked, which made the game impossible to complete.
Fix #17515
Changed paths:
engines/nancy/action/puzzle/orderingpuzzle.cpp
diff --git a/engines/nancy/action/puzzle/orderingpuzzle.cpp b/engines/nancy/action/puzzle/orderingpuzzle.cpp
index c8c7af62cb4..2b6bd266616 100644
--- a/engines/nancy/action/puzzle/orderingpuzzle.cpp
+++ b/engines/nancy/action/puzzle/orderingpuzzle.cpp
@@ -352,7 +352,6 @@ void OrderingPuzzle::readData(Common::SeekableReadStream &stream) {
if (columns == 0) {
columns = 1;
}
- numElements = MIN<uint16>(numElements, maxNumElements);
_down1Rects.resize(numElements);
_destRects.resize(numElements);
More information about the Scummvm-git-logs
mailing list