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

# Notes
- This is unused.
This commit is contained in:
Alex King authored and GitHub committed 2023-03-16 21:06:10 -04:00
1 parent 890ef696fe
commit 64df993c10
2 files changed
-6

No files matched your search

-5
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;
-1
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);