diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index e6daf6e83..797232a6a 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -10766,7 +10766,7 @@ void Client::Handle_OP_PetCommands(const EQApplicationPacket *app) } if ((mypet->GetPetType() == petAnimation && aabonuses.PetCommands[PetCommand]) || mypet->GetPetType() != petAnimation) { - if (target != this && DistanceSquaredNoZ(mypet->GetPosition(), target->GetPosition()) <= (RuleR(Pets, AttackCommandRange)*RuleR(Pets, AttackCommandRange))) { + if (target != this && DistanceSquared(mypet->GetPosition(), target->GetPosition()) <= (RuleR(Pets, AttackCommandRange)*RuleR(Pets, AttackCommandRange))) { mypet->SetFeigned(false); if (mypet->IsPetStop()) { mypet->SetPetStop(false);