summaryrefslogtreecommitdiff
path: root/src/water_cmd.cpp
diff options
context:
space:
mode:
authorSamuXarick <43006711+SamuXarick@users.noreply.github.com>2019-02-23 12:16:12 +0000
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-02-23 13:16:12 +0100
commit4adb91202d7c0118b52daeab2c4e6b040b30e4a9 (patch)
tree464ac86f5ae02a13a43a3563c87ddcc8e2b25ca5 /src/water_cmd.cpp
parentfde5bd0ccfc56b71f85fb65562dc1eac1c446aee (diff)
downloadopenttd-4adb91202d7c0118b52daeab2c4e6b040b30e4a9.tar.xz
Fix: Remove desert around lakes upon generation
Diffstat (limited to 'src/water_cmd.cpp')
-rw-r--r--src/water_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp
index 31dafe57f..03b321e68 100644
--- a/src/water_cmd.cpp
+++ b/src/water_cmd.cpp
@@ -428,7 +428,7 @@ CommandCost CmdBuildCanal(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32
MakeRiver(tile, Random());
if (_game_mode == GM_EDITOR) {
TileIndex tile2 = tile;
- CircularTileSearch(&tile2, 5, RiverModifyDesertZone, NULL);
+ CircularTileSearch(&tile2, RIVER_OFFSET_DESERT_DISTANCE, RiverModifyDesertZone, NULL);
}
break;