Changeset - r25143:46a9ec64e3c1
[Not reviewed]
master
0 1 0
Patric Stout - 3 years ago 2021-04-10 09:14:55
truebrain@openttd.org
Fix 70bc55cfd6e: snow line height was set while calculating desert line (#8989)

Seems I liked copy/pasting just a tiny bit too much.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/landscape.cpp
Show inline comments
 
@@ -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)
0 comments (0 inline, 0 general)