mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-31 09:23:47 +00:00
[Movement] Fix path finder
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user