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

@@ -818,7 +818,7 @@ void DestroyableComponent::Smash(const LWOOBJID source, const eKillType killType
LootGenerator::Instance().DropLoot(m_Parent, m_Parent, -1, coinsToLoose, coinsToLoose);
}
character->SetCoins(coinsTotal, COIN_SOURCE_PICKUP);
character->SetCoins(coinsTotal, LOOT_SOURCE_PICKUP);
Entity* zoneControl = EntityManager::Instance()->GetZoneControlEntity();
for (CppScripts::Script* script : CppScripts::GetEntityScripts(zoneControl)) {