mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-13 02:52:37 +00:00
(svn r22808) -Change [FS#4740]: make it less likely that a one tile wide lake is created
This commit is contained in:
parent
0ad82be1f3
commit
9023de2c1f
@ -1131,7 +1131,7 @@ static bool FlowRiver(bool *marks, TileIndex spring, TileIndex begin)
|
||||
if (found) {
|
||||
/* Flow further down hill. */
|
||||
found = FlowRiver(marks, spring, end);
|
||||
} else if (count > 10) {
|
||||
} else if (count > 32) {
|
||||
/* Maybe we can make a lake. Find the Nth of the considered tiles. */
|
||||
TileIndex lakeCenter = 0;
|
||||
for (int i = RandomRange(count - 1); i != 0; lakeCenter++) {
|
||||
|
Loading…
Reference in New Issue
Block a user