mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-06-20 15:39:25 +02:00
fix(Core/Travel): Drop AddExcludeFlag call (core handles via IsBot filter)
This commit is contained in:
parent
cfcc29b86f
commit
b8adda0a90
@ -730,7 +730,6 @@ std::vector<WorldPosition> WorldPosition::getPathStepFrom(WorldPosition startPos
|
|||||||
// the previous step's endpoint, giving the 40-attempt walker
|
// the previous step's endpoint, giving the 40-attempt walker
|
||||||
// its intended multi-tile reach.
|
// its intended multi-tile reach.
|
||||||
PathGenerator path(pathUnit);
|
PathGenerator path(pathUnit);
|
||||||
path.AddExcludeFlag(NAV_GROUND_STEEP);
|
|
||||||
path.CalculatePath(startPos.GetPositionX(), startPos.GetPositionY(), startPos.GetPositionZ(),
|
path.CalculatePath(startPos.GetPositionX(), startPos.GetPositionY(), startPos.GetPositionZ(),
|
||||||
GetPositionX(), GetPositionY(), GetPositionZ(), false);
|
GetPositionX(), GetPositionY(), GetPositionZ(), false);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user