diff --git a/src/game/Movement/TargetedMovementGenerator.cpp b/src/game/Movement/TargetedMovementGenerator.cpp index 40d213e095d..baa0eda6cd1 100644 --- a/src/game/Movement/TargetedMovementGenerator.cpp +++ b/src/game/Movement/TargetedMovementGenerator.cpp @@ -30,13 +30,13 @@ #include "GameObjectAI.h" #include "Geometry.h" +//-----------------------------------------------// template bool TargetedMovementGeneratorMedium::IsFarEnoughToMoveStationaryFollower(T &owner) const { return !i_target->IsWithinDist(&owner, 1.4f * m_fOffset); } -//-----------------------------------------------// template void TargetedMovementGeneratorMedium::_setTargetLocation(T &owner) { @@ -666,7 +666,7 @@ bool FollowMovementGenerator::Update(T &owner, uint32 const& time_diff) // Follow movement may be interrupted if (!targetMoved && owner.movespline->Finalized()) - targetMoved = IsFarEnoughToMoveStationaryFollower(owner); + targetMoved = this->IsFarEnoughToMoveStationaryFollower(owner); if (targetMoved) {