summaryrefslogtreecommitdiff
path: root/src/servermain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/servermain.cpp')
-rw-r--r--src/servermain.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/servermain.cpp b/src/servermain.cpp
index d5be5b8ac..5409fcfb3 100644
--- a/src/servermain.cpp
+++ b/src/servermain.cpp
@@ -68,6 +68,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "porting.h"
#include "materials.h"
#include "config.h"
+#include "mineral.h"
/*
Settings.
@@ -255,7 +256,13 @@ int main(int argc, char *argv[])
{
run_tests();
}
+
+ // Initialize stuff
+ IIrrlichtWrapper irrlicht; // Dummy
+ init_mapnode(&irrlicht);
+ init_mineral(&irrlicht);
+
// Read map parameters from settings
HMParams hm_params;