From 577f61b0827877346a7fb0892ba30db8da462020 Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Mon, 12 Jun 2023 16:05:09 -0400 Subject: [PATCH] [Cleanup] Remove WriteEntityIDs() from zone/entity.cpp and zone/entity.h (#3395) # Notes - This is unused. --- zone/entity.cpp | 9 --------- zone/entity.h | 1 - 2 files changed, 10 deletions(-) diff --git a/zone/entity.cpp b/zone/entity.cpp index 7472c1d08..55ffd9cee 100644 --- a/zone/entity.cpp +++ b/zone/entity.cpp @@ -3524,15 +3524,6 @@ void EntityList::ClearClientPetitionQueue() return; } -void EntityList::WriteEntityIDs() -{ - auto it = mob_list.begin(); - while (it != mob_list.end()) { - std::cout << "ID: " << it->first << " Name: " << it->second->GetName() << std::endl; - ++it; - } -} - BulkZoneSpawnPacket::BulkZoneSpawnPacket(Client *iSendTo, uint32 iMaxSpawnsPerPacket) { data = nullptr; diff --git a/zone/entity.h b/zone/entity.h index 4b553cb53..6cd3b4775 100644 --- a/zone/entity.h +++ b/zone/entity.h @@ -468,7 +468,6 @@ public: uint32 DeleteNPCCorpses(); uint32 DeletePlayerCorpses(); void CorpseFix(Client* c); - void WriteEntityIDs(); void HalveAggro(Mob* who); void DoubleAggro(Mob* who); void Evade(Mob *who);