summaryrefslogtreecommitdiff
path: root/src/servermain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/servermain.cpp')
-rw-r--r--src/servermain.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/servermain.cpp b/src/servermain.cpp
index 73e1963c1..6bfcf2b75 100644
--- a/src/servermain.cpp
+++ b/src/servermain.cpp
@@ -74,6 +74,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "settings.h"
#include "profiler.h"
#include "log.h"
+#include "mapnode_contentfeatures.h" // For init_contentfeatures
+#include "content_mapnode.h" // For content_mapnode_init
/*
Settings.
@@ -303,7 +305,11 @@ int main(int argc, char *argv[])
// Initialize stuff
- init_mapnode();
+ // Initialize content feature table
+ init_contentfeatures();
+ // Initialize mapnode content without textures (with g_texturesource=NULL)
+ content_mapnode_init();
+
init_mineral();
/*