From d21ab7786c6f8615e7549d6c6d8c668edaa35423 Mon Sep 17 00:00:00 2001 From: ratkosrb Date: Fri, 27 Dec 2024 22:18:55 +0200 Subject: [PATCH] Why is this needed??? --- src/game/Movement/TargetedMovementGenerator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {