[Scummvm-git-logs] scummvm master -> 613ce38389ffd9a2642c02dd42eb068985d80b18

bluegr noreply at scummvm.org
Thu May 7 02:31: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:
613ce38389 NANCY: Properly reload repeating sounds in orderingpuzzle


Commit: 613ce38389ffd9a2642c02dd42eb068985d80b18
    https://github.com/scummvm/scummvm/commit/613ce38389ffd9a2642c02dd42eb068985d80b18
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-05-07T05:31:38+03:00

Commit Message:
NANCY: Properly reload repeating sounds in orderingpuzzle

Fix #16693

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 68ad4100d2d..e8a1f0489e0 100644
--- a/engines/nancy/action/puzzle/orderingpuzzle.cpp
+++ b/engines/nancy/action/puzzle/orderingpuzzle.cpp
@@ -484,6 +484,7 @@ void OrderingPuzzle::handleInput(NancyInput &input) {
 
 		if (canClick && input.input & NancyInput::kLeftMouseButtonUp) {
 			_checkButtonPressed = true;
+			g_nancy->_sound->loadSound(_pushDownSound);
 			g_nancy->_sound->playSound(_pushDownSound);
 			Common::Rect destRect = _checkButtonDest;
 			destRect.translate(-_screenPosition.left, -_screenPosition.top);
@@ -579,6 +580,7 @@ void OrderingPuzzle::pushDown(uint id) {
 	if (g_nancy->getGameType() == kGameTypeVampire) {
 		g_nancy->_sound->playSound("BUOK");
 	} else {
+		g_nancy->_sound->loadSound(_pushDownSound);
 		g_nancy->_sound->playSound(_pushDownSound);
 	}
 
@@ -591,6 +593,7 @@ void OrderingPuzzle::pushDown(uint id) {
 }
 
 void OrderingPuzzle::setToSecondState(uint id) {
+	g_nancy->_sound->loadSound(_itemSound);
 	g_nancy->_sound->playSound(_itemSound);
 
 	_secondStateItems[id] = true;




More information about the Scummvm-git-logs mailing list