(svn r24720) -Fix (r24715): Comparison of different height units.
This commit is contained in:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user