From: Giuseppe Bilotta Date: Tue, 16 Aug 2011 15:42:28 +0000 (+0200) Subject: Let the liquids flow in the open X-Git-Tag: 0.2.20110922~42^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=774faf4e85c08bb4c78404fb0af4eebfad5720cb;p=oweals%2Fminetest.git Let the liquids flow in the open No need to curb their spread artificially. --- diff --git a/src/map.cpp b/src/map.cpp index fa88e846f..17bca82db 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1703,19 +1703,6 @@ void Map::transformLiquids(core::map & modified_blocks) break; } } - // don't flow as far in open terrain - if there isn't at least one adjacent solid block, - // substract another unit from the resulting water level. - if (!flowing_down && new_node_level >= 1) { - bool at_wall = false; - for (u16 i = 0; i < num_neutrals; i++) { - if (neutrals[i].t == NEIGHBOR_SAME_LEVEL) { - at_wall = true; - break; - } - } - if (!at_wall) - new_node_level -= 1; - } if (new_node_level >= 0) new_node_content = liquid_kind;