Fix Linux build warnings
This commit is contained in:
1 parent
44ade1f2b2
commit
0249bfd2bf
47 files changed
+183
-60
No files matched your search
@@ -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