summaryrefslogtreecommitdiff
path: root/src/newgrf_house.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_house.cpp')
-rw-r--r--src/newgrf_house.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_house.cpp b/src/newgrf_house.cpp
index 888b5764f..e6ba75693 100644
--- a/src/newgrf_house.cpp
+++ b/src/newgrf_house.cpp
@@ -252,8 +252,8 @@ static uint32 GetNumHouses(HouseID house_id, const Town *town)
static uint32 GetTerrainType(TileIndex tile)
{
switch (_opt.landscape) {
- case LT_DESERT: return GetTropicZone(tile) == TROPICZONE_DESERT ? 1 : 2;
- case LT_HILLY: return GetTileZ(tile) >= GetSnowLine() ? 4 : 0;
+ case LT_TROPIC: return GetTropicZone(tile) == TROPICZONE_DESERT ? 1 : 2;
+ case LT_ARCTIC: return GetTileZ(tile) >= GetSnowLine() ? 4 : 0;
default: return 0;
}
}