From 067888d54943d301c45843858c763d4f81db215d Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sat, 29 Jun 2013 22:22:25 -0400 Subject: LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for light and liquid updates --- src/script/lua_api/l_vmanip.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/script/lua_api/l_vmanip.h') diff --git a/src/script/lua_api/l_vmanip.h b/src/script/lua_api/l_vmanip.h index 7720ec040..a7791e56b 100644 --- a/src/script/lua_api/l_vmanip.h +++ b/src/script/lua_api/l_vmanip.h @@ -36,7 +36,7 @@ class LuaVoxelManip private: ManualMapVoxelManipulator *vm; std::map modified_blocks; - bool do_gc; + bool is_mapgen_vm; static const char className[]; static const luaL_reg methods[]; @@ -54,7 +54,7 @@ private: static int l_set_lighting(lua_State *L); public: - LuaVoxelManip(ManualMapVoxelManipulator *mmvm, bool dogc); + LuaVoxelManip(ManualMapVoxelManipulator *mmvm, bool is_mapgen_vm); LuaVoxelManip(Map *map); ~LuaVoxelManip(); -- cgit v1.2.3