2
0
Эх сурвалжийг харах

fix node following stopping early

AzaezelX 6 сар өмнө
parent
commit
a10169accf

+ 3 - 1
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)