mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-03 08:00:25 +00:00
[Code] ZSList Global to Singleton Cleanup (#4940)
* [Code] ZSList Global to Singleton Cleanup * Final * Post merge fixes --------- Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
+1
-2
@@ -26,7 +26,6 @@
|
||||
#include "../common/classes.h"
|
||||
|
||||
extern ClientList client_list;
|
||||
extern ZSList zoneserver_list;
|
||||
|
||||
GroupLFP::GroupLFP(uint32 inLeaderID) {
|
||||
|
||||
@@ -270,7 +269,7 @@ void GroupLFPList::SendLFPMatches(ServerLFPMatchesRequest_Struct* smrs) {
|
||||
CLE->Server()->SendPacket(Pack);
|
||||
}
|
||||
else {
|
||||
ZoneServer* zs = zoneserver_list.FindByName(smrs->FromName);
|
||||
ZoneServer* zs = ZSList::Instance()->FindByName(smrs->FromName);
|
||||
if (zs != nullptr)
|
||||
zs->SendPacket(Pack);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user