mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Specified enum
the LOOT_SOURCE enum is now attached to all loot sources.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user