mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Liquid adjusting: continue to drop
This commit is contained in:
parent
efc75db764
commit
6b2c46c431
2 changed files with 45 additions and 4 deletions
|
@ -1755,7 +1755,7 @@ void Map::transformLiquidsFinite(std::map<v3s16, MapBlock*> & modified_blocks)
|
|||
}
|
||||
|
||||
//relax up
|
||||
if (relax && p0.Y <= water_level && liquid_levels[D_TOP] == 0 &&
|
||||
if (relax && ((p0.Y == water_level) || (fast_flood && p0.Y <= water_level)) && liquid_levels[D_TOP] == 0 &&
|
||||
liquid_levels[D_BOTTOM] == LIQUID_LEVEL_SOURCE &&
|
||||
total_level >= LIQUID_LEVEL_SOURCE * can_liquid_same_level-
|
||||
(can_liquid_same_level - relax) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue