Inventory refactor completed. Individual monster loot and stage loot inventories now compatible.

This commit is contained in:
2023-11-21 06:05:52 -06:00
parent 8af7afadae
commit 7cd54e5f80
13 changed files with 110 additions and 48 deletions
-1
View File
@@ -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);
}