summaryrefslogtreecommitdiff
path: root/landscape.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-03-30 19:16:44 +0000
committerbelugas <belugas@openttd.org>2006-03-30 19:16:44 +0000
commit1b28d92fc844bae632a1573cfd499de3ff4238ce (patch)
tree0f080a9a7fe135f94c938d4a6178f9175904cc93 /landscape.c
parent1f17d91b47294e761901ba86a541b32ee1587fb4 (diff)
downloadopenttd-1b28d92fc844bae632a1573cfd499de3ff4238ce.tar.xz
(svn r4181) CodeChange : Replaced [G/S]etMapExtraBits by [G/S]etTropicZone. Although it was an accessor, nor his usage nor the values were clear.
Diffstat (limited to 'landscape.c')
-rw-r--r--landscape.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/landscape.c b/landscape.c
index 85aa36665..4ba7f12e4 100644
--- a/landscape.c
+++ b/landscape.c
@@ -590,7 +590,7 @@ static void CreateDesertOrRainForest(void)
if (TileHeight(t) >= 4 || IsTileType(t, MP_WATER)) break;
}
if (data == endof(_make_desert_or_rainforest_data))
- SetMapExtraBits(tile, 1);
+ SetTropicZone(tile, TROPICZONE_DESERT);
}
for (i = 0; i != 256; i++)
@@ -603,7 +603,7 @@ static void CreateDesertOrRainForest(void)
if (IsTileType(t, MP_CLEAR) && IsClearGround(t, CL_DESERT)) break;
}
if (data == endof(_make_desert_or_rainforest_data))
- SetMapExtraBits(tile, 2);
+ SetTropicZone(tile, TROPICZONE_RAINFOREST);
}
}