moar gaol tracking cleanups

This commit is contained in:
AzaezelX 2025-04-17 12:27:05 -05:00
parent 2956223a60
commit 4f87ad4cf7
4 changed files with 30 additions and 28 deletions

View file

@ -114,8 +114,6 @@ void AINavigation::repath()
if (mPathData.path.isNull() || !mPathData.owned)
return;
if (!getCtrl()->getGoal()) return;
// If we're following, get their position.
mPathData.path->mTo = getCtrl()->getGoal()->getPosition();
// Update from position and replan.