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

@@ -821,7 +821,7 @@ void DestroyableComponent::Smash(const LWOOBJID source, const eKillType killType
coinsTotal -= coinsToLoose;
LootGenerator::Instance().DropLoot(m_Parent, m_Parent, -1, coinsToLoose, coinsToLoose);
character->SetCoins(coinsTotal, LOOT_SOURCE_PICKUP);
character->SetCoins(coinsTotal, eLootSourceType::LOOT_SOURCE_PICKUP);
}
}