mirror of
https://github.com/minetest/minetest.git
synced 2024-08-20 05:24:15 +02:00
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