diff options
author | paramat <mat.gregory@virginmedia.com> | 2015-10-10 20:56:29 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2015-10-10 21:27:44 +0100 |
commit | 3a4bcf35a14d0f4740fe1ce379d87ac2094cc5ba (patch) | |
tree | 5461ded1832b12d30fa81cb508fba3053ceebb81 | |
parent | 41d896d5c248be18f87776433f126c43d7dbca9b (diff) | |
download | minetest-3a4bcf35a14d0f4740fe1ce379d87ac2094cc5ba.tar.gz minetest-3a4bcf35a14d0f4740fe1ce379d87ac2094cc5ba.tar.bz2 minetest-3a4bcf35a14d0f4740fe1ce379d87ac2094cc5ba.zip |
Fractal mapgen: Fix mysterious bug
-rw-r--r-- | src/mapgen_fractal.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mapgen_fractal.cpp b/src/mapgen_fractal.cpp index 03bd3b62f..a1abcffed 100644 --- a/src/mapgen_fractal.cpp +++ b/src/mapgen_fractal.cpp @@ -72,6 +72,11 @@ MapgenFractal::MapgenFractal(int mapgenid, MapgenParams *params, EmergeManager * this->offset_x = sp->offset_x; this->offset_y = sp->offset_y; this->offset_z = sp->offset_z; + this->slice_w = sp->slice_w; + this->julia_x = sp->julia_x; + this->julia_y = sp->julia_y; + this->julia_z = sp->julia_z; + this->julia_w = sp->julia_w; //// 2D terrain noise noise_seabed = new Noise(&sp->np_seabed, seed, csize.X, csize.Z); @@ -143,7 +148,7 @@ MapgenFractalParams::MapgenFractalParams() offset_x = -1.75; offset_y = 0.0; offset_z = 0.0; - slice_w = 0.5; + slice_w = 0.0; julia_x = 0.33; julia_y = 0.33; julia_z = 0.33; |