diff options
author | paramat <paramat@users.noreply.github.com> | 2017-06-15 22:48:26 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-06-16 02:17:25 +0100 |
commit | 212945c7a3a1b9873ab4ef54c4d0360c54573185 (patch) | |
tree | b34c8799af2e9cfe7d3223c8b2041aaea90f8ac6 /src/script/lua_api/l_env.cpp | |
parent | 2ab09bb48659c60e5dab19c3380a245e3eb19a17 (diff) | |
download | minetest-212945c7a3a1b9873ab4ef54c4d0360c54573185.tar.gz minetest-212945c7a3a1b9873ab4ef54c4d0360c54573185.tar.bz2 minetest-212945c7a3a1b9873ab4ef54c4d0360c54573185.zip |
Mgv6 mudflow: Also check for 'ignore' nodes
Previously, when removing decorations we searched upwards and removed until we
found air or water. However, the node above the decoration can be 'ignore' if
a stacked decoration extends into the volume above the mapchunk. The result
could be a problematic column of air placed in the volume of 'ignore'. The
unnecessary placing of air also slows the function.
Add a check for 'ignore' nodes when removing decorations.
Diffstat (limited to 'src/script/lua_api/l_env.cpp')
0 files changed, 0 insertions, 0 deletions