Skip to content

Commit 7da3254

Browse files
committed
Try to fix linux build.
1 parent 8f8f09d commit 7da3254

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/game/Movement/TargetedMovementGenerator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ void ChaseMovementGenerator<T>::_setTargetLocation(T &owner)
127127
}
128128
}
129129
// prevent redundant micro-movement for pets, other followers.
130-
else if (!i_target->IsMoving() && owner.movespline->Finalized() && !IsFarEnoughToMoveStationaryFollower(owner))
130+
else if (!i_target->IsMoving() && owner.movespline->Finalized() && !this->IsFarEnoughToMoveStationaryFollower(owner))
131131
{
132132
return;
133133
}
@@ -592,7 +592,7 @@ void FollowMovementGenerator<T>::_setTargetLocation(T &owner)
592592

593593

594594
// prevent redundant micro-movement for pets, other followers.
595-
if (!i_target->IsMoving() && owner.movespline->Finalized() && !IsFarEnoughToMoveStationaryFollower(owner))
595+
if (!i_target->IsMoving() && owner.movespline->Finalized() && !this->IsFarEnoughToMoveStationaryFollower(owner))
596596
return;
597597

598598
// to at m_fOffset distance from target and m_fAngle from target facing

0 commit comments

Comments
 (0)