summaryrefslogtreecommitdiff
path: root/landscape.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-04-04 21:35:13 +0000
committertron <tron@openttd.org>2006-04-04 21:35:13 +0000
commitaa5777c8748774237271907dab51c058d3b1c82c (patch)
tree8fd9a06aeed0593b1ea4c6f859fd0e7ce9f86442 /landscape.c
parent6ead57890c50758d2fe06f701e76fdbdae445b96 (diff)
downloadopenttd-aa5777c8748774237271907dab51c058d3b1c82c.tar.xz
(svn r4279) s/\<CL_/CLEAR_/
Diffstat (limited to 'landscape.c')
-rw-r--r--landscape.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/landscape.c b/landscape.c
index b1431da0d..b8853671a 100644
--- a/landscape.c
+++ b/landscape.c
@@ -231,7 +231,7 @@ void DrawFoundation(TileInfo *ti, uint f)
void DoClearSquare(TileIndex tile)
{
- MakeClear(tile, CL_GRASS, _generating_world ? 3 : 0);
+ MakeClear(tile, CLEAR_GRASS, _generating_world ? 3 : 0);
MarkTileDirtyByTile(tile);
}
@@ -380,7 +380,7 @@ void InitializeLandscape(void)
for (y = 0; y < maxy; y++) {
for (x = 0; x < maxx; x++) {
- MakeClear(sizex * y + x, CL_GRASS, 3);
+ MakeClear(sizex * y + x, CLEAR_GRASS, 3);
SetTileHeight(sizex * y + x, 0);
}
MakeVoid(sizex * y + x);
@@ -550,7 +550,7 @@ static void CreateDesertOrRainForest(void)
for (data = _make_desert_or_rainforest_data;
data != endof(_make_desert_or_rainforest_data); ++data) {
TileIndex t = TILE_MASK(tile + ToTileIndexDiff(*data));
- if (IsTileType(t, MP_CLEAR) && IsClearGround(t, CL_DESERT)) break;
+ if (IsTileType(t, MP_CLEAR) && IsClearGround(t, CLEAR_DESERT)) break;
}
if (data == endof(_make_desert_or_rainforest_data))
SetTropicZone(tile, TROPICZONE_RAINFOREST);