diff options
author | alberth <alberth@openttd.org> | 2010-07-24 10:14:39 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-07-24 10:14:39 +0000 |
commit | be6c0584240caf420b2475a0be036391e842e8af (patch) | |
tree | 6111751cf5526e1eb41176782d84766c4e9ed185 /src/landscape.cpp | |
parent | 645b6ce77345867fa96861843197481131566c46 (diff) | |
download | openttd-be6c0584240caf420b2475a0be036391e842e8af.tar.xz |
(svn r20211) -Codechange: Indented code should have curly braces around it.
Diffstat (limited to 'src/landscape.cpp')
-rw-r--r-- | src/landscape.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/landscape.cpp b/src/landscape.cpp index ea3199422..77cfbe516 100644 --- a/src/landscape.cpp +++ b/src/landscape.cpp @@ -837,8 +837,9 @@ static void CreateDesertOrRainForest() TileIndex t = AddTileIndexDiffCWrap(tile, *data); if (t != INVALID_TILE && (TileHeight(t) >= 4 || IsTileType(t, MP_WATER))) break; } - if (data == endof(_make_desert_or_rainforest_data)) + if (data == endof(_make_desert_or_rainforest_data)) { SetTropicZone(tile, TROPICZONE_DESERT); + } } for (uint i = 0; i != 256; i++) { @@ -857,8 +858,9 @@ static void CreateDesertOrRainForest() TileIndex t = AddTileIndexDiffCWrap(tile, *data); if (t != INVALID_TILE && IsTileType(t, MP_CLEAR) && IsClearGround(t, CLEAR_DESERT)) break; } - if (data == endof(_make_desert_or_rainforest_data)) + if (data == endof(_make_desert_or_rainforest_data)) { SetTropicZone(tile, TROPICZONE_RAINFOREST); + } } } |