Lighting: Update lighting at block loading
authorDániel Juhász <juhdanad@gmail.com>
Thu, 27 Oct 2016 21:25:44 +0000 (23:25 +0200)
committerparamat <mat.gregory@virginmedia.com>
Mon, 13 Feb 2017 00:05:49 +0000 (00:05 +0000)
commitf17c9c45dc30a388675d46418d278a4a029206e2
tree8facf82b6c5b3fb3ff5e3632a738272de06c6952
parent2bd10022cb06850a404f180c455954ed2f817ce3
Lighting: Update lighting at block loading

This commit updates mapblocks' light if necessary when they are loaded.
This removes ghost lighting.
src/clientiface.cpp
src/map.cpp
src/mapblock.cpp
src/mapblock.h
src/serialization.h
src/voxelalgorithms.cpp
src/voxelalgorithms.h