aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/UI
diff options
context:
space:
mode:
authorGuglioIsStupid <guglioisbusiness@gmail.com>2026-03-06 19:38:14 -0500
committerGitHub <noreply@github.com>2026-03-06 18:38:14 -0600
commit55be6447e33e27cc8820b3fa7d6a8decd147cd2e (patch)
treed21cfa084aecdf6c78493316da0ddf5081f553c9 /Minecraft.Client/Common/UI
parentd4db0b947f3ae710bd53ba7bd5f7716a6b0ae272 (diff)
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
Diffstat (limited to 'Minecraft.Client/Common/UI')
-rw-r--r--Minecraft.Client/Common/UI/IUIScene_AbstractContainerMenu.cpp8
1 files changed, 4 insertions, 4 deletions
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);
}
//