forked from Mirrorlandia_minetest/minetest
parent
4a14a18799
commit
bf987bf58a
@ -1028,6 +1028,9 @@ void blit_back_with_light(Map *map, MMVManip *vm,
|
||||
std::map<v3s16, MapBlock*> *modified_blocks)
|
||||
{
|
||||
const NodeDefManager *ndef = map->getNodeDefManager();
|
||||
|
||||
if (vm->m_area.hasEmptyExtent())
|
||||
return;
|
||||
mapblock_v3 minblock = getNodeBlockPos(vm->m_area.MinEdge);
|
||||
mapblock_v3 maxblock = getNodeBlockPos(vm->m_area.MaxEdge);
|
||||
// First queue is for day light, second is for night light.
|
||||
|
Loading…
Reference in New Issue
Block a user