diff options
author | Patric Stout <truebrain@openttd.org> | 2021-01-08 12:02:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-08 12:02:38 +0100 |
commit | 7463c46a54bed2d21ee8e8e2e8cfe9d67f5f45dc (patch) | |
tree | a32e6d81608c0b854a2e201d391c1a802f50acd1 /src/tile_type.h | |
parent | aac8c28d7369a4394303449ce5307067379067bd (diff) | |
download | openttd-7463c46a54bed2d21ee8e8e2e8cfe9d67f5f45dc.tar.xz |
Fix: for arctic and tropic, make sure we have at least a few hills (#8513)
Without hills, not all industries can be generated, which means
that with a default configuration you get errors. This is far from
optimal, of course.
This now forces that there is at least some hills, even when you
are using very-flat. This is a stopgap solution, but a proper
solution requires a full rewrite of the terrain generator, which
is not a 2 minute (or even 2 week) job.
To make sure flat is still flat-ish, reduce the default
snow-line-height to 10, making it look a lot better on smaller maps.
This is a compromise between being able to have flat maps and
still having all industries on arctic.
Diffstat (limited to 'src/tile_type.h')
-rw-r--r-- | src/tile_type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tile_type.h b/src/tile_type.h index 132b566f0..c1e7081f0 100644 --- a/src/tile_type.h +++ b/src/tile_type.h @@ -26,7 +26,7 @@ static const uint DEF_MAX_HEIGHTLEVEL = 30; ///< Default maxi static const uint MAX_MAX_HEIGHTLEVEL = MAX_TILE_HEIGHT; ///< Upper bound of maximum allowed heightlevel (in the construction settings) static const uint MIN_SNOWLINE_HEIGHT = 2; ///< Minimum snowline height -static const uint DEF_SNOWLINE_HEIGHT = 15; ///< Default snowline height +static const uint DEF_SNOWLINE_HEIGHT = 10; ///< Default snowline height static const uint MAX_SNOWLINE_HEIGHT = (MAX_TILE_HEIGHT - 2); ///< Maximum allowed snowline height |