mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 10:30:01 +01:00
[Movement] Fix path finder
This commit is contained in:
parent
f789f531b3
commit
10166048d7
@ -1421,6 +1421,7 @@ const Movement::PointsArray MovementAction::SearchForBestPath(float x, float y,
|
|||||||
}
|
}
|
||||||
// Start searching
|
// Start searching
|
||||||
if (gen.GetPathType() & PATHFIND_NORMAL) {
|
if (gen.GetPathType() & PATHFIND_NORMAL) {
|
||||||
|
modified_z = tempZ;
|
||||||
found = true;
|
found = true;
|
||||||
}
|
}
|
||||||
int count = 1;
|
int count = 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user