Skip to content

Commit

Permalink
Improve follow movement (vmangos#2758)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stoabrogga authored Sep 9, 2024
1 parent 8313afe commit d58f8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Movement/TargetedMovementGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void TargetedMovementGeneratorMedium<T, D>::_setTargetLocation(T &owner)
// prevent redundant micro-movement for pets, other followers.
else if (!i_target->IsMoving() && owner.movespline->Finalized() && i_target->IsWithinDistInMap(&owner, 1.4f * m_fOffset))
{
owner.GetPosition(x, y, z);
return;
}
else
{
Expand Down

0 comments on commit d58f8f6

Please sign in to comment.