From 55be6447e33e27cc8820b3fa7d6a8decd147cd2e Mon Sep 17 00:00:00 2001 From: GuglioIsStupid Date: Fri, 6 Mar 2026 19:38:14 -0500 Subject: Sound Fixes (#686) * Fix sound settings not applying * Reimplement miles sound artifacts * Fix stone brick stairs recipe * Fix craft and scroll sound * Rename scrollfocus.ogg to scroll.ogg * Remove unneeded code * Reorganize sounds, revert spam sound press, add witch sounds and fix slimes * I forgot my console again --- Minecraft.Client/Common/UI/IUIScene_AbstractContainerMenu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Minecraft.Client/Common/UI') diff --git a/Minecraft.Client/Common/UI/IUIScene_AbstractContainerMenu.cpp b/Minecraft.Client/Common/UI/IUIScene_AbstractContainerMenu.cpp index 37ef0233..e55f207d 100644 --- a/Minecraft.Client/Common/UI/IUIScene_AbstractContainerMenu.cpp +++ b/Minecraft.Client/Common/UI/IUIScene_AbstractContainerMenu.cpp @@ -1379,8 +1379,8 @@ bool IUIScene_AbstractContainerMenu::handleKeyDown(int iPad, int iAction, bool b { int currentIndex = getCurrentIndex(m_eCurrSection) - getSectionStartOffset(m_eCurrSection); - bool bSlotHasItem = !isSlotEmpty(m_eCurrSection, currentIndex); - if (bSlotHasItem) + bool bcanPlaySound = !isSlotEmpty(m_eCurrSection, currentIndex); + if (bcanPlaySound) ui.PlayUISFX(eSFX_Press); } } @@ -1390,8 +1390,8 @@ bool IUIScene_AbstractContainerMenu::handleKeyDown(int iPad, int iAction, bool b { int currentIndex = getCurrentIndex(m_eCurrSection) - getSectionStartOffset(m_eCurrSection); - bool bSlotHasItem = !isSlotEmpty(m_eCurrSection, currentIndex); - if (bSlotHasItem) + bool bcanPlaySound = !isSlotEmpty(m_eCurrSection, currentIndex); + if (bcanPlaySound) ui.PlayUISFX(eSFX_Press); } // -- cgit v1.2.3