Ticket #15224: add-sound-to-toggles-in-game-setup.patch
File add-sound-to-toggles-in-game-setup.patch, 510 bytes (added by , 5 months ago) |
---|
-
engines/nancy/state/setupmenu.cpp
diff --git a/engines/nancy/state/setupmenu.cpp b/engines/nancy/state/setupmenu.cpp index f62464c35e3..73d670a0248 100644
a b void SetupMenu::run() { 226 226 auto *tog = _toggles[i]; 227 227 tog->handleInput(input); 228 228 if (tog->_stateChanged) { 229 g_nancy->_sound->playSound("BUOK"); 229 230 Common::String key = getToggleConfManKey(i); 230 231 if (key.size()) { 231 232 // Make sure we don't write an empty string as a key in ConfMan