aboutsummaryrefslogtreecommitdiff
path: root/src/servermain.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-02-11 19:55:42 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-02-11 19:55:42 +0200
commit52d99fef31daa60903053bc565b6b9d3a31a2bc8 (patch)
tree248831e2e4f78df073f667c3d843d1695e3926b3 /src/servermain.cpp
parent804b2647ced20b8af1e632f1e99d54f905fa8ce0 (diff)
downloadminetest-52d99fef31daa60903053bc565b6b9d3a31a2bc8.tar.gz
minetest-52d99fef31daa60903053bc565b6b9d3a31a2bc8.tar.bz2
minetest-52d99fef31daa60903053bc565b6b9d3a31a2bc8.zip
fully working i guess
Diffstat (limited to 'src/servermain.cpp')
-rw-r--r--src/servermain.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/servermain.cpp b/src/servermain.cpp
index 7ec397ace..1c301d4f5 100644
--- a/src/servermain.cpp
+++ b/src/servermain.cpp
@@ -79,6 +79,9 @@ Settings g_settings;
extern void set_default_settings();
+// A dummy thing
+ITextureSource *g_texturesource = NULL;
+
/*
Debug streams
*/
@@ -259,9 +262,8 @@ int main(int argc, char *argv[])
// Initialize stuff
- IIrrlichtWrapper irrlicht; // Dummy
- init_mapnode(&irrlicht);
- init_mineral(&irrlicht);
+ init_mapnode();
+ init_mineral();
/*
Check parameters