[Scummvm-git-logs] scummvm master -> 5154719e1041f0ac943d7970f98140f8edb1a092

bluegr noreply at scummvm.org
Thu Apr 30 23:05: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:
5154719e10 NANCY: Only allow lathe movement when it's clear of the wood in Nancy8


Commit: 5154719e1041f0ac943d7970f98140f8edb1a092
    https://github.com/scummvm/scummvm/commit/5154719e1041f0ac943d7970f98140f8edb1a092
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-05-01T02:04:10+03:00

Commit Message:
NANCY: Only allow lathe movement when it's clear of the wood in Nancy8

Fix #16716

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


diff --git a/engines/nancy/action/puzzle/cuttingpuzzle.cpp b/engines/nancy/action/puzzle/cuttingpuzzle.cpp
index 4a6a03e329b..258efddeb6a 100644
--- a/engines/nancy/action/puzzle/cuttingpuzzle.cpp
+++ b/engines/nancy/action/puzzle/cuttingpuzzle.cpp
@@ -399,9 +399,11 @@ void CuttingPuzzle::handleInput(NancyInput &input) {
 	}
 
 	// Blade-position needle: clicking the left half moves the blade left,
-	// clicking the right half moves it right.
+	// clicking the right half moves it right. The needle can only move
+	// when the lathe is clear of the wood.
 	if (_currentMarkerPos < _markerDest.size() &&
-	        _markerDest[_currentMarkerPos].contains(localMouse)) {
+		_markerDest[_currentMarkerPos].contains(localMouse) &&
+		_currentLeverDepth == 0) {
 		int midX = (_markerDest[_currentMarkerPos].left + _markerDest[_currentMarkerPos].right) / 2;
 		bool goLeft = localMouse.x < midX;
 




More information about the Scummvm-git-logs mailing list