Fix pets ghosting if moving when you hit guard

This commit is contained in:
Michael Cook (mackal) 2017-05-04 20:23:42 -04:00
parent 15d81eee21
commit 9f8ad1a32c

View File

@ -10105,6 +10105,8 @@ void Client::Handle_OP_PetCommands(const EQApplicationPacket *app)
mypet->Say_StringID(MT_PetResponse, PET_GUARDINGLIFE);
mypet->SetPetOrder(SPO_Guard);
mypet->CastToNPC()->SaveGuardSpot();
if (!mypet->GetTarget()) // want them to not twitch if they're chasing something down
mypet->SetCurrentSpeed(0);
}
}
break;