(svn r24720) -Fix (r24715): Comparison of different height units.

pull/155/head
frosch 12 years ago
parent 15aecd53b9
commit 620bc7b52d

@ -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…
Cancel
Save