Add PR #231: More river configuration options

This commit is contained in:
reldred
2021-03-28 23:45:08 +01:00
committed by Jonathan G Rennison
parent 7e728fe9d6
commit 213b6fe6ef
7 changed files with 101 additions and 14 deletions

View File

@@ -504,7 +504,7 @@ CommandCost CmdBuildCanal(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32
MakeRiver(tile, Random());
if (_game_mode == GM_EDITOR) {
TileIndex tile2 = tile;
CircularTileSearch(&tile2, RIVER_OFFSET_DESERT_DISTANCE, RiverModifyDesertZone, nullptr);
CircularTileSearch(&tile2, _settings_game.game_creation.river_tropics_width, RiverModifyDesertZone, nullptr);
}
break;