mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-12-01 21:12:50 +08: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
|
||||
if (gen.GetPathType() & PATHFIND_NORMAL) {
|
||||
modified_z = tempZ;
|
||||
found = true;
|
||||
}
|
||||
int count = 1;
|
||||
|
||||
Reference in New Issue
Block a user