From a10169accf61352fbcefd75e76eef32b0a4c6727 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Thu, 17 Apr 2025 09:44:04 -0500 Subject: [PATCH] fix node following stopping early --- Engine/source/T3D/AI/AINavigation.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Engine/source/T3D/AI/AINavigation.cpp b/Engine/source/T3D/AI/AINavigation.cpp index a4511921f..4897e0617 100644 --- a/Engine/source/T3D/AI/AINavigation.cpp +++ b/Engine/source/T3D/AI/AINavigation.cpp @@ -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)