File diff r25078:95767d321ffb → r25079:09d645764ffe
src/heightmap.cpp
Show inline comments
 
@@ -368,7 +368,7 @@ static void GrayscaleToMapHeights(uint i
 
					/* 0 is sea level.
 
					 * Other grey scales are scaled evenly to the available height levels > 0.
 
					 * (The coastline is independent from the number of height levels) */
 
					heightmap_height = 1 + (heightmap_height - 1) * _settings_game.construction.max_heightlevel / 255;
 
					heightmap_height = 1 + (heightmap_height - 1) * _settings_game.construction.map_height_limit / 255;
 
				}
 

	
 
				SetTileHeight(tile, heightmap_height);