forked from cafeberry/cafeberry
added some kbm stuff
This commit is contained in:
@@ -123,14 +123,17 @@ void UIScene_HopperMenu::GetItemScreenData( ESceneSection eSection, int iItemInd
|
||||
case eSectionHopperContents:
|
||||
sectionSize.x = m_slotListTrap.getWidth();
|
||||
sectionSize.y = m_slotListTrap.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListTrap, sectionSize);
|
||||
break;
|
||||
case eSectionHopperInventory:
|
||||
sectionSize.x = m_slotListInventory.getWidth();
|
||||
sectionSize.y = m_slotListInventory.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListInventory, sectionSize);
|
||||
break;
|
||||
case eSectionHopperUsing:
|
||||
sectionSize.x = m_slotListHotbar.getWidth();
|
||||
sectionSize.y = m_slotListHotbar.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListHotbar, sectionSize);
|
||||
break;
|
||||
default:
|
||||
assert( false );
|
||||
|
||||
Reference in New Issue
Block a user