mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Reworked ClientVersion into EQEmu::versions; Added EQEmu::versions::InventoryVersion
This commit is contained in:
+3
-3
@@ -867,7 +867,7 @@ bool EntityList::MakeDoorSpawnPacket(EQApplicationPacket *app, Client *client)
|
||||
if (door_list.empty())
|
||||
return false;
|
||||
|
||||
uint32 mask_test = client->GetClientVersionBit();
|
||||
uint32 mask_test = client->ClientVersionBit();
|
||||
int count = 0;
|
||||
|
||||
auto it = door_list.begin();
|
||||
@@ -1474,7 +1474,7 @@ void EntityList::QueueClientsByTarget(Mob *sender, const EQApplicationPacket *ap
|
||||
}
|
||||
}
|
||||
|
||||
if (Send && (c->GetClientVersionBit() & ClientVersionBits))
|
||||
if (Send && (c->ClientVersionBit() & ClientVersionBits))
|
||||
c->QueuePacket(app, ackreq);
|
||||
}
|
||||
}
|
||||
@@ -4406,7 +4406,7 @@ void EntityList::UpdateFindableNPCState(NPC *n, bool Remove)
|
||||
auto it = client_list.begin();
|
||||
while (it != client_list.end()) {
|
||||
Client *c = it->second;
|
||||
if (c && (c->GetClientVersion() >= ClientVersion::SoD))
|
||||
if (c && (c->ClientVersion() >= EQEmu::versions::ClientVersion::SoD))
|
||||
c->QueuePacket(outapp);
|
||||
|
||||
++it;
|
||||
|
||||
Reference in New Issue
Block a user