aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/UI/IUIScene_AbstractContainerMenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/Common/UI/IUIScene_AbstractContainerMenu.cpp')
-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);
}
//