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

Seems I liked copy/pasting just a tiny bit too much.
pull/239/head
Patric Stout 3 years ago committed by GitHub
parent e98aed8b48
commit ff6924f122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save