diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-06-20 00:04:18 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-06-20 00:04:18 +0200 |
commit | b32f36bf34c9a3208b2c0261e0f541453b4459b6 (patch) | |
tree | 566f3239448e43924207b8839eac1892fb824c2c /src/script | |
parent | 4a5e8ad343079f6552fab639770e5771ed7c4e7a (diff) | |
download | minetest-b32f36bf34c9a3208b2c0261e0f541453b4459b6.tar.gz minetest-b32f36bf34c9a3208b2c0261e0f541453b4459b6.tar.bz2 minetest-b32f36bf34c9a3208b2c0261e0f541453b4459b6.zip |
Fix 2 warnings reported by GCC
* ClientEnvironment::m_irr is not used anymore since a recent cleanup
* l_vmanip constructor ordering
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/lua_api/l_vmanip.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/script/lua_api/l_vmanip.cpp b/src/script/lua_api/l_vmanip.cpp index ed5042bcf..9e482873b 100644 --- a/src/script/lua_api/l_vmanip.cpp +++ b/src/script/lua_api/l_vmanip.cpp @@ -365,7 +365,9 @@ int LuaVoxelManip::l_get_emerged_area(lua_State *L) return 2; } -LuaVoxelManip::LuaVoxelManip(MMVManip *mmvm, bool is_mg_vm) : vm(mmvm), is_mapgen_vm(is_mg_vm) +LuaVoxelManip::LuaVoxelManip(MMVManip *mmvm, bool is_mg_vm) : + is_mapgen_vm(is_mg_vm), + vm(mmvm) { } |