From a65a34ad17a2e0eef8f7057a64e2983c08d9e80b Mon Sep 17 00:00:00 2001 From: ariel- Date: Sun, 24 Jan 2016 13:03:03 -0300 Subject: [PATCH] Core/Pets: fixed command move to --- src/server/game/AI/CoreAI/PetAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/AI/CoreAI/PetAI.cpp b/src/server/game/AI/CoreAI/PetAI.cpp index 8acf6b9c9dc..6e49e302754 100644 --- a/src/server/game/AI/CoreAI/PetAI.cpp +++ b/src/server/game/AI/CoreAI/PetAI.cpp @@ -442,7 +442,7 @@ void PetAI::HandleReturnMovement() me->GetMotionMaster()->MovePoint(me->GetGUID().GetCounter(), x, y, z); } } - else // COMMAND_FOLLOW + else if (!me->GetCharmInfo()->HasCommandState(COMMAND_MOVE_TO)) { if (!me->GetCharmInfo()->IsFollowing() && !me->GetCharmInfo()->IsReturning()) {