fix(build): align argument order in Pathfinder::findPath calls

This commit is contained in:
bart
2026-11-09 19:33:55 +01:00
parent 742ccdecb4
commit cefc57561b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1059,7 +1059,7 @@ void GameManager::commandBuildRoadToTileSelected(int targetX, int targetY, Matri
// Pathfind from current tile to target tile
std::vector<std::pair<int, int>> route = Pathfinder::findPath(
selected->tileX, selected->tileY, targetX, targetY,
MovementDomain::Land, mapPoints, numPoints05, &selected->config
mapPoints, numPoints05, MovementDomain::Land, &selected->config
);
if (route.empty()) {