aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_v6.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-06-17 19:11:28 +0200
committerGitHub <noreply@github.com>2017-06-17 19:11:28 +0200
commit8f7785771b9e02b1a1daf7a252550d78ea93053d (patch)
tree7a4e4b524dbc63fed3dac99a3844b634cc621d0d /src/mapgen_v6.h
parent76be103a91d6987527af19e87d93007be8ba8a67 (diff)
downloaddragonfireclient-8f7785771b9e02b1a1daf7a252550d78ea93053d.tar.xz
Cpp11 initializers 2 (#5999)
* C++11 patchset 10: continue cleanup on constructors * Drop obsolete bool MainMenuData::enable_public (setting is called with cURL in server loop) * More classes cleanup * More classes cleanup + change NULL tests to boolean tests
Diffstat (limited to 'src/mapgen_v6.h')
-rw-r--r--src/mapgen_v6.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mapgen_v6.h b/src/mapgen_v6.h
index 9d36804d0..4a885e2c5 100644
--- a/src/mapgen_v6.h
+++ b/src/mapgen_v6.h
@@ -56,9 +56,10 @@ enum BiomeV6Type
struct MapgenV6Params : public MapgenParams {
- u32 spflags;
- float freq_desert;
- float freq_beach;
+ u32 spflags = MGV6_JUNGLES | MGV6_SNOWBIOMES | MGV6_TREES |
+ MGV6_BIOMEBLEND | MGV6_MUDFLOW;
+ float freq_desert = 0.45f;
+ float freq_beach = 0.15f;
NoiseParams np_terrain_base;
NoiseParams np_terrain_higher;
NoiseParams np_steepness;