mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r24720) -Fix (r24715): Comparison of different height units.
This commit is contained in:
parent
752382ecd8
commit
b518f1342c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue