mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-30 18:51:34 +00:00
Fix Linux build warnings
This commit is contained in:
@@ -194,9 +194,14 @@ void UIScene_InventoryMenu::setSectionSelectedSlot(ESceneSection eSection, int x
|
||||
case eSectionInventoryUsing:
|
||||
slotList = &m_slotListHotbar;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
slotList->setHighlightSlot(index);
|
||||
if (slotList != NULL)
|
||||
{
|
||||
slotList->setHighlightSlot(index);
|
||||
}
|
||||
}
|
||||
|
||||
UIControl *UIScene_InventoryMenu::getSection(ESceneSection eSection)
|
||||
@@ -213,6 +218,8 @@ UIControl *UIScene_InventoryMenu::getSection(ESceneSection eSection)
|
||||
case eSectionInventoryUsing:
|
||||
control = &m_slotListHotbar;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return control;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user