mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Hopefully fix 'dangling water'
If a block has (at least visible) liquids, the block below should also be flowed in.
This commit is contained in:
parent
a99450ab72
commit
b37fffc2c5
@ -1698,7 +1698,8 @@ void Map::transformLiquids(core::map<v3s16, MapBlock*> & modified_blocks)
|
||||
max_node_level = LIQUID_LEVEL_MAX;
|
||||
if (nb_liquid_level + WATER_DROP_BOOST < LIQUID_LEVEL_MAX)
|
||||
max_node_level = nb_liquid_level + WATER_DROP_BOOST;
|
||||
}
|
||||
} else if (nb_liquid_level > max_node_level)
|
||||
max_node_level = nb_liquid_level;
|
||||
break;
|
||||
case NEIGHBOR_LOWER:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user