forked from cafeberry/cafeberry
added some kbm stuff
This commit is contained in:
@@ -123,14 +123,17 @@ void UIScene_DispenserMenu::GetItemScreenData( ESceneSection eSection, int iItem
|
||||
case eSectionTrapTrap:
|
||||
sectionSize.x = m_slotListTrap.getWidth();
|
||||
sectionSize.y = m_slotListTrap.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListTrap, sectionSize);
|
||||
break;
|
||||
case eSectionTrapInventory:
|
||||
sectionSize.x = m_slotListInventory.getWidth();
|
||||
sectionSize.y = m_slotListInventory.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListInventory, sectionSize);
|
||||
break;
|
||||
case eSectionTrapUsing:
|
||||
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