fix(Core/Movement): Skip walk dispatch when bot is on transport without special segment

This commit is contained in:
bash 2026-05-30 23:09:09 +02:00
parent 82e7958d2c
commit 2b50205e2a

View File

@ -119,6 +119,12 @@ bool NewRpgBaseAction::MoveFarTo(WorldPosition dest)
// dispatches the walk into the trigger volume). Fall through. // 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. // Walk dispatch.
std::vector<WorldPosition> const& pts = path.getPointPath(); std::vector<WorldPosition> const& pts = path.getPointPath();
Movement::PointsArray points; Movement::PointsArray points;