mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
GUI: Split gui to interface, potentially new ui interface is possible
This commit is contained in:
@@ -172,14 +172,14 @@ void IngameBlockSelectionScreen::mouseReleased(int x, int y, int type)
|
||||
|
||||
void IngameBlockSelectionScreen::removed()
|
||||
{
|
||||
m_pMinecraft->m_gui.inventoryUpdated();
|
||||
m_pMinecraft->m_pGui->onInventoryUpdated();
|
||||
}
|
||||
|
||||
void IngameBlockSelectionScreen::selectSlotAndClose()
|
||||
{
|
||||
Inventory* pInv = getInventory();
|
||||
|
||||
pInv->selectItem(m_selectedSlot, m_pMinecraft->m_gui.getNumUsableSlots());
|
||||
pInv->selectItem(m_selectedSlot, m_pMinecraft->m_pGui->getNumUsableSlots());
|
||||
|
||||
m_pMinecraft->m_pSoundEngine->play("random.click");
|
||||
m_pMinecraft->setScreen(nullptr);
|
||||
|
||||
Reference in New Issue
Block a user