From 64df993c10dec845bde4fe6ccacdb6a304de0f98 Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Thu, 16 Mar 2023 21:06:10 -0400 Subject: [PATCH] [Cleanup] Remove FlushLootStats() from npc.h (#3079) # Notes - This is unused. --- zone/npc.cpp | 5 ----- zone/npc.h | 1 - 2 files changed, 6 deletions(-) diff --git a/zone/npc.cpp b/zone/npc.cpp index b6de64e1f..652017690 100644 --- a/zone/npc.cpp +++ b/zone/npc.cpp @@ -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 &NPC::GetRolledItems() const { return m_rolled_items; diff --git a/zone/npc.h b/zone/npc.h index 92d542012..6ce7a5c0b 100644 --- a/zone/npc.h +++ b/zone/npc.h @@ -115,7 +115,6 @@ public: // loot recording / simulator bool IsRecordLootStats() const; void SetRecordLootStats(bool record_loot_stats); - void FlushLootStats(); const std::vector &GetRolledItems() const; int GetRolledItemCount(uint32 item_id);