mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
Increase river pathfinding node limit
This commit is contained in:
parent
d512602369
commit
fc2f746b80
@ -1235,7 +1235,7 @@ static void BuildRiver(TileIndex begin, TileIndex end)
|
||||
finder.EndNodeCheck = River_EndNodeCheck;
|
||||
finder.FoundEndNode = River_FoundEndNode;
|
||||
finder.user_target = &end;
|
||||
finder.max_search_nodes = AYSTAR_DEF_MAX_SEARCH_NODES;
|
||||
finder.max_search_nodes = 100 * AYSTAR_DEF_MAX_SEARCH_NODES;
|
||||
|
||||
finder.Init(1 << RIVER_HASH_SIZE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user