diff options
author | frosch <frosch@openttd.org> | 2012-11-13 21:40:50 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-13 21:40:50 +0000 |
commit | b518f1342c26275857b97c2593c4e7ff4734f58c (patch) | |
tree | 31415cd99d7b3f8fe379fe82819008a424124dbe /src | |
parent | 752382ecd889b54f54e9ddee9e21fd888bd3fe08 (diff) | |
download | openttd-b518f1342c26275857b97c2593c4e7ff4734f58c.tar.xz |
(svn r24720) -Fix (r24715): Comparison of different height units.
Diffstat (limited to 'src')
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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: |