From 2b50205e2a9246e9ba2225ff4077553ab6957cf2 Mon Sep 17 00:00:00 2001 From: bash Date: Sat, 30 May 2026 23:09:09 +0200 Subject: [PATCH] fix(Core/Movement): Skip walk dispatch when bot is on transport without special segment --- src/Ai/World/Rpg/Action/NewRpgBaseAction.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Ai/World/Rpg/Action/NewRpgBaseAction.cpp b/src/Ai/World/Rpg/Action/NewRpgBaseAction.cpp index a8f915ebd..693cb2bb4 100644 --- a/src/Ai/World/Rpg/Action/NewRpgBaseAction.cpp +++ b/src/Ai/World/Rpg/Action/NewRpgBaseAction.cpp @@ -119,6 +119,12 @@ bool NewRpgBaseAction::MoveFarTo(WorldPosition dest) // dispatches the walk into the trigger volume). Fall through. } + // Transport guard: bot is on a transport but no special movement + // applies this tick — don't dispatch a walk spline (would fight the + // transport's own movement). + if (onTransport) + return false; + // Walk dispatch. std::vector const& pts = path.getPointPath(); Movement::PointsArray points;