Cache highest snowline value

This commit is contained in:
Jonathan G Rennison
2022-04-29 17:10:18 +01:00
parent 0ec6f659c2
commit ed30542acf
5 changed files with 26 additions and 16 deletions

View File

@@ -128,6 +128,7 @@ static void _GenerateWorld()
_settings_game.game_creation.snow_line_height = DEF_SNOWLINE_HEIGHT;
UpdateCachedSnowLine();
UpdateCachedSnowLineBounds();
} else {
GenerateLandscape(_gw.mode);
GenerateClearTile();