aboutsummaryrefslogtreecommitdiff
path: root/src/mg_schematic.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-06-18 19:55:15 +0200
committerGitHub <noreply@github.com>2017-06-18 19:55:15 +0200
commit4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f (patch)
tree57ce8401a5f6538024c1f19d37d576fba21e147b /src/mg_schematic.h
parent8f7785771b9e02b1a1daf7a252550d78ea93053d (diff)
downloadhax-minetest-server-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.tar.gz
hax-minetest-server-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.zip
Cpp11 patchset 11: continue working on constructor style migration (#6004)
Diffstat (limited to 'src/mg_schematic.h')
-rw-r--r--src/mg_schematic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mg_schematic.h b/src/mg_schematic.h
index db040343c..16e967a7c 100644
--- a/src/mg_schematic.h
+++ b/src/mg_schematic.h
@@ -117,10 +117,10 @@ public:
std::vector<std::pair<s16, u8> > *splist);
std::vector<content_t> c_nodes;
- u32 flags;
+ u32 flags = 0;
v3s16 size;
- MapNode *schemdata;
- u8 *slice_probs;
+ MapNode *schemdata = nullptr;
+ u8 *slice_probs = nullptr;
};
class SchematicManager : public ObjDefManager {