summaryrefslogtreecommitdiff
path: root/src/genworld.cpp
diff options
context:
space:
mode:
authorGabda <gabda87@gmail.com>2019-02-09 00:05:25 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-02-08 23:05:25 +0000
commit37bb2c930828260cd28365c8d96befea096bacd6 (patch)
tree0fe5efa02b36db2a08440c264a1d1a9a0494115f /src/genworld.cpp
parent5e4f76f2f9ad105f619003657229b3bbd87ba678 (diff)
downloadopenttd-37bb2c930828260cd28365c8d96befea096bacd6.tar.xz
Codechange: Make the style of MakeVoid calls uniform (#7192)
Diffstat (limited to 'src/genworld.cpp')
-rw-r--r--src/genworld.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp
index 5cdb129b9..25d6a7bd9 100644
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -120,8 +120,8 @@ static void _GenerateWorld(void *)
/* Make sure the tiles at the north border are void tiles if needed. */
if (_settings_game.construction.freeform_edges) {
- for (uint row = 0; row < MapSizeY(); row++) MakeVoid(TileXY(0, row));
- for (uint col = 0; col < MapSizeX(); col++) MakeVoid(TileXY(col, 0));
+ for (uint x = 0; x < MapSizeX(); x++) MakeVoid(TileXY(x, 0));
+ for (uint y = 0; y < MapSizeY(); y++) MakeVoid(TileXY(0, y));
}
/* Make the map the height of the setting */