aboutsummaryrefslogtreecommitdiff
path: root/src/mg_schematic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mg_schematic.cpp')
-rw-r--r--src/mg_schematic.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mg_schematic.cpp b/src/mg_schematic.cpp
index 3cea3c321..c50e90b3a 100644
--- a/src/mg_schematic.cpp
+++ b/src/mg_schematic.cpp
@@ -37,9 +37,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
SchematicManager::SchematicManager(Server *server) :
- ObjDefManager(server, OBJDEF_SCHEMATIC)
+ ObjDefManager(server, OBJDEF_SCHEMATIC),
+ m_server(server)
{
- m_server = server;
}
@@ -69,10 +69,6 @@ void SchematicManager::clear()
Schematic::Schematic()
{
- schemdata = NULL;
- slice_probs = NULL;
- flags = 0;
- size = v3s16(0, 0, 0);
}