From 91b217c962829295728091ec5c3e79c619fe56e5 Mon Sep 17 00:00:00 2001 From: bash Date: Fri, 8 May 2026 10:34:59 +0200 Subject: [PATCH] Revert "feat(Core/Travel): Enable PathGenerator slope check on chained probe" This reverts commit c8ca028ebef33c43fdae16f3ee3830396f3fbfd6. --- src/Mgr/Travel/TravelMgr.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Mgr/Travel/TravelMgr.cpp b/src/Mgr/Travel/TravelMgr.cpp index c517d4c3e..8fb48e925 100644 --- a/src/Mgr/Travel/TravelMgr.cpp +++ b/src/Mgr/Travel/TravelMgr.cpp @@ -730,14 +730,6 @@ std::vector WorldPosition::getPathStepFrom(WorldPosition startPos // the previous step's endpoint, giving the 40-attempt walker // its intended multi-tile reach. PathGenerator path(pathUnit); - // Stricter walkability validation than navmesh extract alone: per- - // segment runtime check against the unit's collision-height climb - // formula. Detour may return paths up steep slopes that the - // walkable-slope-angle filter at extract time accepted but that the - // unit physically can't walk; SetSlopeCheck rejects those at - // pathfind time (returns DT_SLOPE_TOO_STEEP / shorter path). - // Engine uses this in FleeingMovementGenerator only. - path.SetSlopeCheck(true); path.CalculatePath(startPos.GetPositionX(), startPos.GetPositionY(), startPos.GetPositionZ(), GetPositionX(), GetPositionY(), GetPositionZ(), false);