diff options
author | tron <tron@openttd.org> | 2006-04-04 21:35:13 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-04-04 21:35:13 +0000 |
commit | 99a6b9b8f239b43924282ea6b1775ee3850ca551 (patch) | |
tree | 8fd9a06aeed0593b1ea4c6f859fd0e7ce9f86442 /industry_cmd.c | |
parent | 52892863e5c140e9e486b97e252b184a9f08a196 (diff) | |
download | openttd-99a6b9b8f239b43924282ea6b1775ee3850ca551.tar.xz |
(svn r4279) s/\<CL_/CLEAR_/
Diffstat (limited to 'industry_cmd.c')
-rw-r--r-- | industry_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/industry_cmd.c b/industry_cmd.c index f16b04f32..e7973df87 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -895,7 +895,7 @@ static const byte _plantfarmfield_type[] = {1, 1, 1, 1, 1, 3, 3, 4, 4, 4, 5, 5, static bool IsBadFarmFieldTile(TileIndex tile) { switch (GetTileType(tile)) { - case MP_CLEAR: return IsClearGround(tile, CL_FIELDS) || IsClearGround(tile, CL_SNOW); + case MP_CLEAR: return IsClearGround(tile, CLEAR_FIELDS) || IsClearGround(tile, CLEAR_SNOW); case MP_TREES: return false; default: return true; } @@ -904,7 +904,7 @@ static bool IsBadFarmFieldTile(TileIndex tile) static bool IsBadFarmFieldTile2(TileIndex tile) { switch (GetTileType(tile)) { - case MP_CLEAR: return IsClearGround(tile, CL_SNOW); + case MP_CLEAR: return IsClearGround(tile, CLEAR_SNOW); case MP_TREES: return false; default: return true; } |