aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_v5.cpp
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_v5.cpp
parent76be103a91d6987527af19e87d93007be8ba8a67 (diff)
downloadhax-minetest-server-8f7785771b9e02b1a1daf7a252550d78ea93053d.tar.gz
hax-minetest-server-8f7785771b9e02b1a1daf7a252550d78ea93053d.zip
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 '')
-rw-r--r--src/mapgen_v5.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mapgen_v5.cpp b/src/mapgen_v5.cpp
index 932677e2a..4f2f58853 100644
--- a/src/mapgen_v5.cpp
+++ b/src/mapgen_v5.cpp
@@ -80,12 +80,6 @@ MapgenV5::~MapgenV5()
MapgenV5Params::MapgenV5Params()
{
- spflags = MGV5_CAVERNS;
- cave_width = 0.125;
- cavern_limit = -256;
- cavern_taper = 256;
- cavern_threshold = 0.7;
-
np_filler_depth = NoiseParams(0, 1, v3f(150, 150, 150), 261, 4, 0.7, 2.0);
np_factor = NoiseParams(0, 1, v3f(250, 250, 250), 920381, 3, 0.45, 2.0);
np_height = NoiseParams(0, 10, v3f(250, 250, 250), 84174, 4, 0.5, 2.0);