Inventory refactor completed. Individual monster loot and stage loot inventories now compatible.
This commit is contained in:
@@ -641,7 +641,6 @@ void Menu::SetMouseNavigation(bool mouseNavigation){
|
||||
|
||||
void Menu::InventorySlotsUpdated(ITCategory cat){
|
||||
//Update the inventory with a new inventory slot, since there's one additional item to interact with now.
|
||||
std::vector<std::string>&inv=Inventory::get(cat);
|
||||
for(MenuComponent*component:inventoryListeners.at(cat)){
|
||||
component->OnInventorySlotsUpdate(cat);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user