Advertisement
Guest User

Untitled

a guest
Dec 26th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1.         /* Farms can only generate above sea level (height > 0) and below 'snow_line_height - 2'
  2.          * which limits minimum snow_line_height to '1 < snow_line_height - 2', thus '4'.
  3.          * Forests can only generate above 'snow_line_height + 2'
  4.          * which limits maximum snow_line_height to 'highest_height - 2'. */
  5.         _settings_game.game_creation.snow_line_height = Clamp(snow_line_height, 4, max(4, highest_height - 2));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement