Skip to content

Commit

Permalink
[Cleanup] Remove GateAllClients() from zone/entity.cpp and zone/entit…
Browse files Browse the repository at this point in the history
…y.h (#3391)

# Notes
- This is unused.
  • Loading branch information
Kinglykrab authored Jun 12, 2023
1 parent 306b067 commit dfaa929
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions zone/entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 0 additions & 1 deletion zone/entity.h
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,6 @@ class EntityList
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);
Expand Down

0 comments on commit dfaa929

Please sign in to comment.