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

fracturehill noreply at scummvm.org
Sat Jun 29 16:59:40 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
acc5d24fa3 NANCY: Add sound to toggles in Game Setup


Commit: acc5d24fa3dd0645d4df41ca88fac3b99dc2fe4a
    https://github.com/scummvm/scummvm/commit/acc5d24fa3dd0645d4df41ca88fac3b99dc2fe4a
Author: scummvmuser (150493071+scummvmuser at users.noreply.github.com)
Date: 2024-06-29T18:59:37+02:00

Commit Message:
NANCY: Add sound to toggles in Game Setup

Changed paths:
    engines/nancy/state/setupmenu.cpp


diff --git a/engines/nancy/state/setupmenu.cpp b/engines/nancy/state/setupmenu.cpp
index 60965fd4503..f95e4a6f7ee 100644
--- a/engines/nancy/state/setupmenu.cpp
+++ b/engines/nancy/state/setupmenu.cpp
@@ -225,6 +225,7 @@ void SetupMenu::run() {
 		auto *tog = _toggles[i];
 		tog->handleInput(input);
 		if (tog->_stateChanged) {
+			g_nancy->_sound->playSound("BUOK");
 			Common::String key = getToggleConfManKey(i);
 			if (key.size()) {
 				// Make sure we don't write an empty string as a key in ConfMan




More information about the Scummvm-git-logs mailing list