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