Use node lighting for liquid spreading
authorDániel Juhász <juhdanad@gmail.com>
Sun, 23 Oct 2016 15:51:13 +0000 (17:51 +0200)
committerNer'zhul <nerzhul@users.noreply.github.com>
Thu, 27 Oct 2016 06:04:42 +0000 (08:04 +0200)
commitbe39f61359ad63f2c6d4aea14c1dfd8357eee03f
tree17209bda6ba8e178b37f55dc479a91d981609cd7
parentc071efaa43ad3dcba7d60a7a67e942aae2a7dc83
Use node lighting for liquid spreading

This commit modifies the liquid transforming procedure to light and
unlight nodes instead of whole map blocks.
src/map.cpp
src/voxelalgorithms.cpp
src/voxelalgorithms.h