mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
C++11 cleanup on constructors (#6000)
* C++11 cleanup on constructors dir script
This commit is contained in:
parent
4a78949083
commit
4a5e8ad343
40 changed files with 117 additions and 180 deletions
|
@ -35,7 +35,7 @@ class LuaVoxelManip : public ModApiBase
|
|||
{
|
||||
private:
|
||||
std::map<v3s16, MapBlock *> modified_blocks;
|
||||
bool is_mapgen_vm;
|
||||
bool is_mapgen_vm = false;
|
||||
|
||||
static const char className[];
|
||||
static const luaL_Reg methods[];
|
||||
|
@ -65,7 +65,7 @@ private:
|
|||
static int l_get_emerged_area(lua_State *L);
|
||||
|
||||
public:
|
||||
MMVManip *vm;
|
||||
MMVManip *vm = nullptr;
|
||||
|
||||
LuaVoxelManip(MMVManip *mmvm, bool is_mapgen_vm);
|
||||
LuaVoxelManip(Map *map, v3s16 p1, v3s16 p2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue