mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-06-20 15:39:25 +02:00
fix(Core/Movement): Skip walk dispatch when bot is on transport without special segment
This commit is contained in:
parent
82e7958d2c
commit
2b50205e2a
@ -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<WorldPosition> const& pts = path.getPointPath();
|
||||
Movement::PointsArray points;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user