summaryrefslogtreecommitdiff
path: root/terraform_gui.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
commit80570009dd802e7403983c7e28670e7debd4c57b (patch)
tree0f080a9a7fe135f94c938d4a6178f9175904cc93 /terraform_gui.c
parent756212a71e6910919ef854c0f5d9bb35a1e14001 (diff)
downloadopenttd-80570009dd802e7403983c7e28670e7debd4c57b.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 'terraform_gui.c')
-rw-r--r--terraform_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terraform_gui.c b/terraform_gui.c
index b7570c159..9a37bbc10 100644
--- a/terraform_gui.c
+++ b/terraform_gui.c
@@ -55,7 +55,7 @@ static void GenerateDesertArea(TileIndex end, TileIndex start)
_generating_world = true;
BEGIN_TILE_LOOP(tile, size_x, size_y, TileXY(sx, sy)) {
if (GetTileType(tile) != MP_WATER) {
- SetMapExtraBits(tile, (_ctrl_pressed) ? 0 : 1);
+ SetTropicZone(tile, (_ctrl_pressed) ? TROPICZONE_INVALID : TROPICZONE_DESERT);
DoCommandP(tile, 0, 0, NULL, CMD_LANDSCAPE_CLEAR);
MarkTileDirtyByTile(tile);
}