We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 882a89d commit 0459ecaCopy full SHA for 0459eca
src/map.cpp
@@ -1732,11 +1732,14 @@ void Map::transformLiquids(std::map<v3s16, MapBlock*> & modified_blocks)
1732
if (nb.t != NEIGHBOR_UPPER && liquid_type != LIQUID_NONE)
1733
m_transforming_liquid.push_back(npos);
1734
// if the current node happens to be a flowing node, it will start to flow down here.
1735
- if (nb.t == NEIGHBOR_LOWER) {
+ if (nb.t == NEIGHBOR_LOWER)
1736
flowing_down = true;
1737
- }
1738
} else {
1739
neutrals[num_neutrals++] = nb;
+ // If neutral below is ignore prevent water spreading outwards
1740
+ if (nb.t == NEIGHBOR_LOWER &&
1741
+ nb.n.getContent() == CONTENT_IGNORE)
1742
+ flowing_down = true;
1743
}
1744
break;
1745
case LIQUID_SOURCE:
0 commit comments