diff options
author | red-001 <red-001@outlook.ie> | 2017-06-22 12:18:58 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-22 13:18:58 +0200 |
commit | 8b9f40d12f9542dac15fdf454b2e27c53f8a5019 (patch) | |
tree | c1177269cf0cf856e718574e3eb20005ced6c30f /src | |
parent | 2652d8db19fb2758de1da4c04ce169f80c87e5c7 (diff) | |
download | minetest-8b9f40d12f9542dac15fdf454b2e27c53f8a5019.tar.gz minetest-8b9f40d12f9542dac15fdf454b2e27c53f8a5019.tar.bz2 minetest-8b9f40d12f9542dac15fdf454b2e27c53f8a5019.zip |
Fix CSM crash caused by move to C++11. (#6027)
Diffstat (limited to 'src')
-rw-r--r-- | src/script/lua_api/l_nodemeta.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/lua_api/l_nodemeta.cpp b/src/script/lua_api/l_nodemeta.cpp index aa8d1c453..c446a8f07 100644 --- a/src/script/lua_api/l_nodemeta.cpp +++ b/src/script/lua_api/l_nodemeta.cpp @@ -176,7 +176,8 @@ NodeMetaRef::NodeMetaRef(v3s16 p, ServerEnvironment *env): } NodeMetaRef::NodeMetaRef(Metadata *meta): - m_meta(meta) + m_meta(meta), + m_is_local(true) { } |