mirror of https://github.com/OpenTTD/OpenTTD
(svn r24720) -Fix (r24715): Comparison of different height units.
parent
752382ecd8
commit
b518f1342c
|
@ -2591,7 +2591,7 @@ static bool SplitGroundSpriteForOverlay(const TileInfo *ti, SpriteID *ground, Ra
|
||||||
/* Decide snow/desert from tile */
|
/* Decide snow/desert from tile */
|
||||||
switch (_settings_game.game_creation.landscape) {
|
switch (_settings_game.game_creation.landscape) {
|
||||||
case LT_ARCTIC:
|
case LT_ARCTIC:
|
||||||
snow_desert = ti->z > GetSnowLine();
|
snow_desert = (uint)ti->z > GetSnowLine() * TILE_HEIGHT;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LT_TROPIC:
|
case LT_TROPIC:
|
||||||
|
|
Loading…
Reference in New Issue