From dfaa929778e559f6ca2a6c765556838625efdb66 Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Mon, 12 Jun 2023 16:10:36 -0400 Subject: [PATCH] [Cleanup] Remove GateAllClients() from zone/entity.cpp and zone/entity.h (#3391) # Notes - This is unused. --- zone/entity.cpp | 11 ----------- zone/entity.h | 1 - 2 files changed, 12 deletions(-) diff --git a/zone/entity.cpp b/zone/entity.cpp index 1eb2b986f..9367cbd14 100644 --- a/zone/entity.cpp +++ b/zone/entity.cpp @@ -5115,17 +5115,6 @@ uint32 EntityList::CheckNPCsClose(Mob *center) return count; } -void EntityList::GateAllClients() -{ - auto it = client_list.begin(); - while (it != client_list.end()) { - Client *c = it->second; - if (c) - c->GoToBind(); - ++it; - } -} - void EntityList::SignalAllClients(int signal_id) { for (const auto& c : client_list) { diff --git a/zone/entity.h b/zone/entity.h index e43415528..c8e88fa89 100644 --- a/zone/entity.h +++ b/zone/entity.h @@ -514,7 +514,6 @@ public: void ZoneWho(Client *c, Who_All_Struct* Who); void UnMarkNPC(uint16 ID); - void GateAllClients(); void SignalAllClients(int signal_id); void UpdateQGlobal(uint32 qid, QGlobal newGlobal); void DeleteQGlobal(std::string name, uint32 npcID, uint32 charID, uint32 zoneID);