Codechange: Make the style of MakeVoid calls uniform (#7192)

This commit is contained in:
Gabda
2019-02-09 00:05:25 +01:00
committed by Charles Pigott
parent 5e4f76f2f9
commit 37bb2c9308
5 changed files with 17 additions and 24 deletions

View File

@@ -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 */