aboutsummaryrefslogtreecommitdiff
path: root/src/voxelalgorithms.h
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-06-12 17:53:17 +0100
committerparamat <mat.gregory@virginmedia.com>2017-06-15 00:38:08 +0100
commitf55816f93a8d80371878a5292f4f432e90dcc582 (patch)
treebe28c92bbc7ccb263e71c2079eeecce4cb8ccd06 /src/voxelalgorithms.h
parentbbe3dd9a7a3fc0f17a6ab61c70d9ea95962915df (diff)
downloadminetest-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/voxelalgorithms.h')
0 files changed, 0 insertions, 0 deletions