navigation: setPathdestination now takes a replace bool to preserve the goal

also killed a few now extraneous  clearfollow calls
This commit is contained in:
AzaezelX 2025-04-17 17:51:31 -05:00
parent c72c3068f8
commit f84bf058c9
3 changed files with 6 additions and 9 deletions

View file

@ -82,7 +82,7 @@ struct AINavigation
/// Clear out the current path.
void clearPath();
bool setPathDestination(const Point3F& pos);
bool setPathDestination(const Point3F& pos, bool replace = false);
Point3F getPathDestination() const;
void repath();