diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-30 23:27:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-30 23:27:06 +0300 |
commit | ce092b3c79d7c624df4632535f65d7a663f6054e (patch) | |
tree | a9369f704d4566d073ec78db481bf9838b077437 /src/char/init.c | |
parent | 50a97b0ef2a8365d87a8a57047caccb0c050c56b (diff) | |
download | evol-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.c | 4 |
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); } |