summaryrefslogtreecommitdiff
path: root/src/char/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-30 23:27:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-30 23:27:06 +0300
commitce092b3c79d7c624df4632535f65d7a663f6054e (patch)
treea9369f704d4566d073ec78db481bf9838b077437 /src/char/init.c
parent50a97b0ef2a8365d87a8a57047caccb0c050c56b (diff)
downloadevol-hercules-ce092b3c79d7c624df4632535f65d7a663f6054e.tar.gz
evol-hercules-ce092b3c79d7c624df4632535f65d7a663f6054e.tar.bz2
evol-hercules-ce092b3c79d7c624df4632535f65d7a663f6054e.tar.xz
evol-hercules-ce092b3c79d7c624df4632535f65d7a663f6054e.zip
char: add init default map.
Diffstat (limited to 'src/char/init.c')
-rw-r--r--src/char/init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/char/init.c b/src/char/init.c
index 639c19b..3dabdae 100644
--- a/src/char/init.c
+++ b/src/char/init.c
@@ -26,7 +26,7 @@
#include "../../../char/loginif.h"
#include "../../../char/mapif.h"
-#include "common/interfaces.h"
+#include "common/init.h"
#include "char/char.h"
#include "char/config.h"
@@ -65,6 +65,8 @@ HPExport void server_preinit (void)
{
interfaces_init_common();
+ setDefaultMap();
+
addCharInterConf("inter_server_ip", config_inter_server_ip);
}