Specified enum

the LOOT_SOURCE enum is now attached to all loot sources.
This commit is contained in:
EmosewaMC
2022-04-23 20:32:31 -07:00
parent 8e10f090fd
commit ceab229a63
9 changed files with 27 additions and 27 deletions

View File

@@ -221,7 +221,7 @@ void CharacterComponent::HandleLevelUp()
break;
case 4:
{
auto* items = inventoryComponent->GetInventory(ITEMS);
auto* items = inventoryComponent->GetInventory(eInventoryType::ITEMS);
items->SetSize(items->GetSize() + reward->value);
}
break;