aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2017-06-22 12:18:58 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-06-22 13:18:58 +0200
commit8b9f40d12f9542dac15fdf454b2e27c53f8a5019 (patch)
treec1177269cf0cf856e718574e3eb20005ced6c30f /src
parent2652d8db19fb2758de1da4c04ce169f80c87e5c7 (diff)
downloadminetest-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.cpp3
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)
{
}