From 1f7aa7394ba4f9c0d4ae29af0aca7a46e7a012f8 Mon Sep 17 00:00:00 2001 From: bash Date: Sun, 10 May 2026 00:42:24 +0200 Subject: [PATCH] feat(Core/Travel): Cap bots at NAV_GROUND_STEEP via AddExcludeFlag --- src/Mgr/Travel/TravelMgr.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mgr/Travel/TravelMgr.cpp b/src/Mgr/Travel/TravelMgr.cpp index 2a01141d6..c1979f1c3 100644 --- a/src/Mgr/Travel/TravelMgr.cpp +++ b/src/Mgr/Travel/TravelMgr.cpp @@ -730,6 +730,7 @@ std::vector WorldPosition::getPathStepFrom(WorldPosition startPos // the previous step's endpoint, giving the 40-attempt walker // its intended multi-tile reach. PathGenerator path(pathUnit); + path.AddExcludeFlag(NAV_GROUND_STEEP); path.CalculatePath(startPos.GetPositionX(), startPos.GetPositionY(), startPos.GetPositionZ(), GetPositionX(), GetPositionY(), GetPositionZ(), false);