mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 02:22:26 +01:00
@ -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.
|
||||
|
Reference in New Issue
Block a user