aboutsummaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-06-25 11:49:08 -0400
committerkwolekr <kwolekr@minetest.net>2013-06-27 22:35:35 -0400
commit2c0b51795e6fa6747d881f1871c89830abb6e6e8 (patch)
treef14014ac3aeaeca01b941e9acd6e45bfc7527e98 /src/map.h
parentd6ac3d8d9a6484f2d348d1caea203de0069b6bd6 (diff)
downloadminetest-2c0b51795e6fa6747d881f1871c89830abb6e6e8.tar.gz
minetest-2c0b51795e6fa6747d881f1871c89830abb6e6e8.tar.bz2
minetest-2c0b51795e6fa6747d881f1871c89830abb6e6e8.zip
Fix issue of VManip occasionally not blitting back blocks, and pitch black lighting bug
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index 8326d3e58..bccadcec5 100644
--- a/src/map.h
+++ b/src/map.h
@@ -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);