summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/town_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index c76ca9fff..550f85dcf 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -2104,7 +2104,7 @@ static bool BuildTownHouse(Town *t, TileIndex tile)
/* Above snow? */
int land = _settings_game.game_creation.landscape;
- if (land == LT_ARCTIC && z >= _settings_game.game_creation.snow_line) land = -1;
+ if (land == LT_ARCTIC && z >= HighestSnowLine()) land = -1;
uint bitmask = (1 << rad) + (1 << (land + 12));