mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for light and liquid updates
This commit is contained in:
parent
848c3fe51a
commit
067888d549
4 changed files with 35 additions and 31 deletions
|
@ -36,7 +36,7 @@ class LuaVoxelManip
|
|||
private:
|
||||
ManualMapVoxelManipulator *vm;
|
||||
std::map<v3s16, MapBlock *> 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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue