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

This commit is contained in:
frosch 2012-11-13 21:40:50 +00:00
parent 752382ecd8
commit b518f1342c
1 changed files with 1 additions and 1 deletions

View File

@ -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: