From b518f1342c26275857b97c2593c4e7ff4734f58c Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 13 Nov 2012 21:40:50 +0000 Subject: (svn r24720) -Fix (r24715): Comparison of different height units. --- src/station_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 36e359b05..ae9727c4c 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2591,7 +2591,7 @@ static bool SplitGroundSpriteForOverlay(const TileInfo *ti, SpriteID *ground, Ra /* Decide snow/desert from tile */ switch (_settings_game.game_creation.landscape) { case LT_ARCTIC: - snow_desert = ti->z > GetSnowLine(); + snow_desert = (uint)ti->z > GetSnowLine() * TILE_HEIGHT; break; case LT_TROPIC: -- cgit v1.2.3-54-g00ecf