From a2e1b0fc7fa9a470f645e130115ce14a89aa2e02 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Mon, 7 Jul 2014 01:51:04 -0400 Subject: Don't copy back already generated blocks on map generation --- src/map.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index 4972046f5..f4c7bb2fc 100644 --- a/src/map.h +++ b/src/map.h @@ -543,10 +543,11 @@ public: {m_map = map;} void initialEmerge(v3s16 blockpos_min, v3s16 blockpos_max, - bool load_if_inexistent = true); + bool load_if_inexistent = true); // This is much faster with big chunks of generated data - void blitBackAll(std::map * modified_blocks); + void blitBackAll(std::map * modified_blocks, + bool overwrite_generated = true); protected: bool m_create_area; -- cgit v1.2.3