aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_indev.cpp
diff options
context:
space:
mode:
authorproller <proller@github.com>2013-04-06 19:32:59 +0400
committerkwolekr <kwolekr@minetest.net>2013-04-06 12:09:59 -0400
commit120f02e20b941969be241363b93e2d918bb9e7a6 (patch)
tree96185074de6af33b3cea49e0876239f5c01825ab /src/mapgen_indev.cpp
parentbecd8c03fd4c79422f2f829c6ec844888c80356c (diff)
downloadminetest-120f02e20b941969be241363b93e2d918bb9e7a6.tar.gz
minetest-120f02e20b941969be241363b93e2d918bb9e7a6.tar.bz2
minetest-120f02e20b941969be241363b93e2d918bb9e7a6.zip
Don't flow finite liquid into an unloaded chunk
Diffstat (limited to 'src/mapgen_indev.cpp')
-rw-r--r--src/mapgen_indev.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapgen_indev.cpp b/src/mapgen_indev.cpp
index 5d455827a..5c842b6a5 100644
--- a/src/mapgen_indev.cpp
+++ b/src/mapgen_indev.cpp
@@ -265,9 +265,9 @@ void MapgenIndev::defineCave(Cave & cave, PseudoRandom ps, v3s16 node_min, bool
cave.part_max_length_rs = ps.range(2,4);
if (node_min.Y < -100 && !ps.range(0, farscale(0.2, node_min.X,node_min.Y,node_min.Z)*30)) { //huge
cave.flooded = !ps.range(0, 3);
- cave.tunnel_routepoints = ps.range(5, 20);
+ cave.tunnel_routepoints = ps.range(5, 30);
cave.min_tunnel_diameter = 30;
- cave.max_tunnel_diameter = ps.range(40, ps.range(80,120));
+ cave.max_tunnel_diameter = ps.range(40, ps.range(80,200));
} else {
cave.tunnel_routepoints = ps.range(5, ps.range(15,30));
cave.min_tunnel_diameter = 5;