Rendering of decal portions now controllable via point check overrides.
This commit is contained in:
+5
-1
@@ -173,7 +173,11 @@ void Inventory::InsertIntoSortedInv(IT item){
|
||||
}
|
||||
|
||||
bool Inventory::ExecuteAction(IT item){
|
||||
return ITEM_SCRIPTS.at(ITEM_DATA.at(item).useFunc)(game,ITEM_DATA[item].customProps);
|
||||
if(ITEM_SCRIPTS.count(ITEM_DATA.at(item).useFunc)){
|
||||
return ITEM_SCRIPTS.at(ITEM_DATA.at(item).useFunc)(game,ITEM_DATA[item].customProps);
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
bool Inventory::SwapItems(ITCategory itemCategory,uint32_t slot1,uint32_t slot2){
|
||||
|
||||
Reference in New Issue
Block a user