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