[Cleanup] Remove FlushLootStats() from npc.h (#3079)

# Notes
- This is unused.
This commit is contained in:
Alex King 2023-03-16 21:06:10 -04:00 committed by GitHub
parent 890ef696fe
commit 64df993c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View File

@ -3778,11 +3778,6 @@ void NPC::SetRecordLootStats(bool record_loot_stats)
NPC::m_record_loot_stats = record_loot_stats;
}
void NPC::FlushLootStats()
{
m_rolled_items = {};
}
const std::vector<uint32> &NPC::GetRolledItems() const
{
return m_rolled_items;

View File

@ -115,7 +115,6 @@ public:
// loot recording / simulator
bool IsRecordLootStats() const;
void SetRecordLootStats(bool record_loot_stats);
void FlushLootStats();
const std::vector<uint32> &GetRolledItems() const;
int GetRolledItemCount(uint32 item_id);