1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 01:49:10 +00:00

Fix 70bc55cfd6: snow line height was set while calculating desert line (#8989)

Seems I liked copy/pasting just a tiny bit too much.
This commit is contained in:
Patric Stout
2021-04-10 11:14:55 +02:00
committed by Charles Pigott
parent aadc7beccc
commit 4ffe7131cb

View File

@@ -1400,7 +1400,7 @@ static void CalculateSnowLine()
static uint8 CalculateDesertLine()
{
/* CalculateCoverageLine() runs from top to bottom, so we need to invert the coverage. */
return _settings_game.game_creation.snow_line_height = CalculateCoverageLine(100 - _settings_game.game_creation.desert_coverage, 4);
return CalculateCoverageLine(100 - _settings_game.game_creation.desert_coverage, 4);
}
void GenerateLandscape(byte mode)