diff options
author | proller <proller@github.com> | 2013-04-25 22:52:23 +0400 |
---|---|---|
committer | proller <proller@github.com> | 2013-04-25 22:59:32 +0400 |
commit | d83602d98ed9df6a8b9bc0d68a14b824777e2032 (patch) | |
tree | c7bc01a7e6961a00293d7a4190cd760b9057ad0c /src | |
parent | c33b99339788995a31cb3f652a9ffe8f7270b061 (diff) | |
download | minetest-d83602d98ed9df6a8b9bc0d68a14b824777e2032.tar.gz minetest-d83602d98ed9df6a8b9bc0d68a14b824777e2032.tar.bz2 minetest-d83602d98ed9df6a8b9bc0d68a14b824777e2032.zip |
Tune finite liquids, indev huge caves
Diffstat (limited to 'src')
-rw-r--r-- | src/map.cpp | 2 | ||||
-rw-r--r-- | src/mapgen_indev.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp index c4884a45a..821805d4e 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1764,7 +1764,7 @@ void Map::transformLiquidsFinite(std::map<v3s16, MapBlock*> & modified_blocks) } // prevent lakes in air above unloaded blocks - if (p0.Y > water_level && neighbors[D_BOTTOM].n.getContent() == CONTENT_IGNORE) { + if (liquid_levels[D_TOP] == 0 && (p0.Y > water_level || !fast_flood) && neighbors[D_BOTTOM].n.getContent() == CONTENT_IGNORE) { --total_level; } diff --git a/src/mapgen_indev.cpp b/src/mapgen_indev.cpp index 7f0faf16f..ce5cfbfeb 100644 --- a/src/mapgen_indev.cpp +++ b/src/mapgen_indev.cpp @@ -303,7 +303,7 @@ CaveIndev::CaveIndev(Mapgen *mg, PseudoRandom *ps, PseudoRandom *ps2, flooded = !ps->range(0, 3); tunnel_routepoints = ps->range(5, 30); min_tunnel_diameter = 30; - max_tunnel_diameter = ps->range(40, ps->range(80, 200)); + max_tunnel_diameter = ps->range(40, ps->range(80, 150)); } else { tunnel_routepoints = ps->range(5, ps->range(15,30)); min_tunnel_diameter = 5; |