Generic NodeMetadata text input
[oweals/minetest.git] / src / servermain.cpp
index 73e1963c1f64616a52037fd0bc3930699e6a9a9c..6bfcf2b75f06d60c34793a6e1fe8a44c80ab6478 100644 (file)
@@ -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();
 
        /*