diff options
author | paramat <paramat@users.noreply.github.com> | 2017-06-12 17:53:17 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-06-15 00:38:08 +0100 |
commit | f55816f93a8d80371878a5292f4f432e90dcc582 (patch) | |
tree | be28c92bbc7ccb263e71c2079eeecce4cb8ccd06 /src/database-files.cpp | |
parent | bbe3dd9a7a3fc0f17a6ab61c70d9ea95962915df (diff) | |
download | minetest-f55816f93a8d80371878a5292f4f432e90dcc582.tar.gz minetest-f55816f93a8d80371878a5292f4f432e90dcc582.tar.bz2 minetest-f55816f93a8d80371878a5292f4f432e90dcc582.zip |
Mgv6 mudflow: Avoid partially removed stacked decorations
Recently we started to remove decorations if the dirt below was flowed away,
but this did not check for stacked decorations, causing them to have only
their lowest node removed.
Also, placed mud could partially bury stacked decorations.
Remove 'old_is_water' bool which on testing is never true.
Add new function 'moveMud()' to reduce indentation.
Remove stacked decoration nodes above a removed decoration.
Remove stacked decorations partially buried in placed mud.
Diffstat (limited to 'src/database-files.cpp')
0 files changed, 0 insertions, 0 deletions