Remove unneeded code

This commit is contained in:
GuglioIsStupid 2026-03-06 03:10:58 -05:00
parent 46c4023e3d
commit ea1addf243

View file

@ -1377,21 +1377,13 @@ bool IUIScene_AbstractContainerMenu::handleKeyDown(int iPad, int iAction, bool b
quickKeyHeld = TRUE;
if (IsSectionSlotList(m_eCurrSection))
{
int currentIndex = getCurrentIndex(m_eCurrSection) - getSectionStartOffset(m_eCurrSection);
bool bSlotHasItem = !isSlotEmpty(m_eCurrSection, currentIndex);
if (bSlotHasItem)
ui.PlayUISFX(eSFX_Press);
ui.PlayUISFX(eSFX_Press);
}
}
}
else {
if (IsSectionSlotList(m_eCurrSection))
{
int currentIndex = getCurrentIndex(m_eCurrSection) - getSectionStartOffset(m_eCurrSection);
//bool bSlotHasItem = !isSlotEmpty(m_eCurrSection, currentIndex);
//if (bSlotHasItem)
ui.PlayUISFX(eSFX_Press);
}
//