1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix issue of VManip occasionally not blitting back blocks, and pitch black lighting bug

This commit is contained in:
kwolekr 2013-06-25 11:49:08 -04:00
parent d6ac3d8d9a
commit 2c0b51795e
2 changed files with 26 additions and 15 deletions

View file

@ -555,7 +555,8 @@ public:
virtual void emerge(VoxelArea a, s32 caller_id=-1);
void initialEmerge(v3s16 blockpos_min, v3s16 blockpos_max);
void initialEmerge(v3s16 blockpos_min, v3s16 blockpos_max,
bool load_if_inexistent = true);
// This is much faster with big chunks of generated data
void blitBackAll(std::map<v3s16, MapBlock*> * modified_blocks);