--- a/ai_pathfinder.c Sat May 07 10:26:45 2005 +0000
+++ b/ai_pathfinder.c Sat May 07 22:00:36 2005 +0000
@@ -116,7 +116,7 @@
for (x = TileX(PathFinderInfo->start_tile_tl); x <= TileX(PathFinderInfo->start_tile_br); x++) {
for (y = TileY(PathFinderInfo->start_tile_tl); y <= TileY(PathFinderInfo->start_tile_br); y++) {
start_node.node.tile = TILE_XY(x, y);
- result->addstart(result, &start_node.node);
+ result->addstart(result, &start_node.node, 0);
}
}
@@ -147,7 +147,7 @@
if (!(IsTileType(TILE_XY(x, y), MP_CLEAR) || IsTileType(TILE_XY(x, y), MP_TREES))) continue;
if (!TestCanBuildStationHere(TILE_XY(x, y), TEST_STATION_NO_DIR)) continue;
start_node.node.tile = TILE_XY(x, y);
- aystar->addstart(aystar, &start_node.node);
+ aystar->addstart(aystar, &start_node.node, 0);
}
}
}