mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 19:52:17 +00:00
Reworked ClientVersion into EQEmu::versions; Added EQEmu::versions::InventoryVersion
This commit is contained in:
1 parent
6bc60391fb
commit
b3475d7b50
66 files changed
+732
-561
No files matched your search
+1
-1
@@ -475,7 +475,7 @@ void Pet::SetTarget(Mob *mob)
|
||||
return;
|
||||
|
||||
auto owner = GetOwner();
|
||||
if (owner && owner->IsClient() && owner->CastToClient()->GetClientVersionBit() & BIT_UFAndLater) {
|
||||
if (owner && owner->IsClient() && owner->CastToClient()->ClientVersionBit() & EQEmu::versions::bit_UFAndLater) {
|
||||
auto app = new EQApplicationPacket(OP_PetHoTT, sizeof(ClientTarget_Struct));
|
||||
auto ct = (ClientTarget_Struct *)app->pBuffer;
|
||||
ct->new_target = mob ? mob->GetID() : 0;
|
||||
|
||||
Reference in new issue
Block a user