From 7a6e4dc54a3eb4187e67a21c4ece60f39bb1d13b Mon Sep 17 00:00:00 2001 From: paramat Date: Mon, 3 Aug 2015 04:34:11 +0100 Subject: 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. --- src/cavegen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cavegen.h') 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 { -- cgit v1.2.3