diff options
author | paramat <mat.gregory@virginmedia.com> | 2015-08-03 04:34:11 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2015-08-03 06:39:23 +0100 |
commit | 7a6e4dc54a3eb4187e67a21c4ece60f39bb1d13b (patch) | |
tree | 26646570c7adbb988392bb15af1435257e65468a /src/cavegen.h | |
parent | cf77e0333d1ba0aa81fdce80cd0fa32f137b0a47 (diff) | |
download | hax-minetest-server-7a6e4dc54a3eb4187e67a21c4ece60f39bb1d13b.tar.gz hax-minetest-server-7a6e4dc54a3eb4187e67a21c4ece60f39bb1d13b.zip |
Cavegen V6: Make all caves consistent with 0.4.12 stable
When tunnels entirely above ground were avoided, the
missing pseudorandom calls changed the allowed caves.
Now, above ground tunnels are not placed while
still running all previous pseudorandom calls.
Diffstat (limited to '')
-rw-r--r-- | src/cavegen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cavegen.h b/src/cavegen.h index 5d150802a..b9662587b 100644 --- a/src/cavegen.h +++ b/src/cavegen.h @@ -113,7 +113,7 @@ public: CaveV6(MapgenV6 *mg, PseudoRandom *ps, PseudoRandom *ps2, bool large_cave); void makeCave(v3s16 nmin, v3s16 nmax, int max_stone_height); void makeTunnel(bool dirswitch); - void carveRoute(v3f vec, float f, bool randomize_xz); + void carveRoute(v3f vec, float f, bool randomize_xz, bool tunnel_above_ground); }; class CaveV7 { |