summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-15 01:50:06 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-15 01:50:06 +0000
commitb4666cfe7d5c1b601cbf3beb43058a1574c9ad03 (patch)
tree659017f40e470897916bea0c1f474004c7eb2184 /src/char/char.c
parent5f432aa0e316f5afb293f25f3e74c79a23a661f4 (diff)
downloadhercules-b4666cfe7d5c1b601cbf3beb43058a1574c9ad03.tar.gz
hercules-b4666cfe7d5c1b601cbf3beb43058a1574c9ad03.tar.bz2
hercules-b4666cfe7d5c1b601cbf3beb43058a1574c9ad03.tar.xz
hercules-b4666cfe7d5c1b601cbf3beb43058a1574c9ad03.zip
Corrected wrong data loading order in txt storage code causing crashes at startup (followup to r12950).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12957 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c4
1 files changed, 3 insertions, 1 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);