Updated variable names

Updated the variable names to match the enum name update.
This commit is contained in:
EmosewaMC
2021-12-23 18:48:08 -08:00
parent 6ff5ae78aa
commit 6aad799f95
7 changed files with 14 additions and 14 deletions

View File

@@ -316,7 +316,7 @@ void LootGenerator::GiveActivityLoot(Entity* player, Entity* source, uint32_t ac
auto* character = player->GetCharacter();
character->SetCoins(character->GetCoins() + coins, COIN_SOURCE_ACTIVITY);
character->SetCoins(character->GetCoins() + coins, LOOT_SOURCE_ACTIVITY);
}
void LootGenerator::DropLoot(Entity* player, Entity* killedObject, uint32_t matrixIndex, uint32_t minCoins, uint32_t maxCoins) {