forked from cafeberry/cafeberry
added some kbm stuff
This commit is contained in:
@@ -148,14 +148,17 @@ void UIScene_ContainerMenu::GetItemScreenData( ESceneSection eSection, int iItem
|
||||
case eSectionContainerChest:
|
||||
sectionSize.x = m_slotListContainer.getWidth();
|
||||
sectionSize.y = m_slotListContainer.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListContainer, sectionSize);
|
||||
break;
|
||||
case eSectionContainerInventory:
|
||||
sectionSize.x = m_slotListInventory.getWidth();
|
||||
sectionSize.y = m_slotListInventory.getHeight();
|
||||
FixSlotGridSize(eSection, m_slotListInventory, sectionSize);
|
||||
break;
|
||||
case eSectionContainerUsing:
|
||||
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