aboutsummaryrefslogtreecommitdiff
path: root/src/servermain.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-01-28 02:11:44 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-01-28 02:11:44 +0200
commit1c776c3df84c7ff7833fade3124cdcca34a01662 (patch)
treeeae0f37f54fec919c2de49e53e76eb9ab68fb58b /src/servermain.cpp
parent364c9612008e5c4d1738156764cad650d514883b (diff)
downloadminetest-1c776c3df84c7ff7833fade3124cdcca34a01662.tar.gz
minetest-1c776c3df84c7ff7833fade3124cdcca34a01662.tar.bz2
minetest-1c776c3df84c7ff7833fade3124cdcca34a01662.zip
server builds now!
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;