[Movement] Fix path finder

This commit is contained in:
Yunfan Li
2024-04-20 13:47:24 +08:00
parent f789f531b3
commit 10166048d7

View File

@@ -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;