mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-25 22:35:37 +00:00
moar gaol tracking cleanups
This commit is contained in:
parent
2956223a60
commit
4f87ad4cf7
4 changed files with 30 additions and 28 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue