mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
parent
4a14a18799
commit
bf987bf58a
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue