Core/Pets: fixed command move to

This commit is contained in:
ariel-
2016-01-24 13:03:03 -03:00
parent 247a32aca7
commit a65a34ad17

View File

@@ -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())
{