summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_vmanip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/lua_api/l_vmanip.h')
-rw-r--r--src/script/lua_api/l_vmanip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/lua_api/l_vmanip.h b/src/script/lua_api/l_vmanip.h
index 568f7104e..5a57d6bfa 100644
--- a/src/script/lua_api/l_vmanip.h
+++ b/src/script/lua_api/l_vmanip.h
@@ -36,6 +36,7 @@ class LuaVoxelManip
private:
ManualMapVoxelManipulator *vm;
std::map<v3s16, MapBlock *> modified_blocks;
+ bool do_gc;
static const char className[];
static const luaL_reg methods[];
@@ -50,6 +51,7 @@ private:
static int l_set_lighting(lua_State *L);
public:
+ LuaVoxelManip(ManualMapVoxelManipulator *mmvm, bool dogc);
LuaVoxelManip(Map *map);
~LuaVoxelManip();