if you've stopped moving on purpose, you're not stuck

This commit is contained in:
AzaezelX 2025-04-16 17:40:53 -05:00
parent f3ef698e89
commit 14a03dfc6c
2 changed files with 2 additions and 0 deletions

View file

@ -155,6 +155,7 @@ void AINavigation::onReachDestination()
else
#endif
getCtrl()->throwCallback("onReachDestination");
getCtrl()->mMovement.mMoveState = AIController::ModeStop;
}
bool AINavigation::setPathDestination(const Point3F& pos)