Fractal mapgen: Fix mysterious bug
authorparamat <mat.gregory@virginmedia.com>
Sat, 10 Oct 2015 19:56:29 +0000 (20:56 +0100)
committerparamat <mat.gregory@virginmedia.com>
Sat, 10 Oct 2015 20:27:44 +0000 (21:27 +0100)
src/mapgen_fractal.cpp

index 03bd3b62fdfa4c43b929e6be0d8e2838ddd837eb..a1abcffed939595a4e669279bd10870c0e15cfc2 100644 (file)
@@ -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;