summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-07-07 01:51:04 -0400
committerkwolekr <kwolekr@minetest.net>2014-07-07 01:51:04 -0400
commita2e1b0fc7fa9a470f645e130115ce14a89aa2e02 (patch)
tree742904e94f288a680d237962228121ef81160262 /src/map.h
parent8b3ed78e53d8ad19d8dee3968430be258559214c (diff)
downloadminetest-a2e1b0fc7fa9a470f645e130115ce14a89aa2e02.tar.gz
minetest-a2e1b0fc7fa9a470f645e130115ce14a89aa2e02.tar.bz2
minetest-a2e1b0fc7fa9a470f645e130115ce14a89aa2e02.zip
Don't copy back already generated blocks on map generation
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h5
1 files changed, 3 insertions, 2 deletions
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<v3s16, MapBlock*> * modified_blocks);
+ void blitBackAll(std::map<v3s16, MapBlock*> * modified_blocks,
+ bool overwrite_generated = true);
protected:
bool m_create_area;