From d83602d98ed9df6a8b9bc0d68a14b824777e2032 Mon Sep 17 00:00:00 2001 From: proller Date: Thu, 25 Apr 2013 22:52:23 +0400 Subject: Tune finite liquids, indev huge caves --- src/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map.cpp') 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 & 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; } -- cgit v1.2.3