Merge pull request #516 from EmosewaMC/isPlayer-changes

Live accurate item loot sources
This commit is contained in:
David Markowitz
2022-04-24 18:56:49 -07:00
committed by GitHub
34 changed files with 120 additions and 109 deletions

View File

@@ -819,7 +819,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);
}
}