summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/char/char.c4
-rw-r--r--src/char/inter.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 19887b737..071e21472 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -4299,6 +4299,9 @@ int do_init(int argc, char **argv)
ShowInfo("Finished reading the char-server configuration.\n");
+ inter_init_txt((argc > 2) ? argv[2] : inter_cfgName); // inter server 初期化
+ ShowInfo("Finished reading the inter-server configuration.\n");
+
// a newline in the log...
char_log("");
// moved behind char_config_read in case we changed the filename [celest]
@@ -4312,7 +4315,6 @@ int do_init(int argc, char **argv)
#ifdef ENABLE_SC_SAVING
status_init();
#endif
- inter_init_txt((argc > 2) ? argv[2] : inter_cfgName); // inter server 初期化
ShowInfo("char server initialized.\n");
set_defaultparse(parse_char);
diff --git a/src/char/inter.c b/src/char/inter.c
index c987ce8f2..463d2dd4d 100644
--- a/src/char/inter.c
+++ b/src/char/inter.c
@@ -253,8 +253,10 @@ int inter_save(void) {
return 0;
}
#endif //TXT_SQL_CONVERT
+
// 初期化
-int inter_init_txt(const char *file) {
+int inter_init_txt(const char *file)
+{
inter_config_read(file);
#ifndef TXT_SQL_CONVERT