summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-SVN.txt1
-rw-r--r--src/char_sql/char.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/Changelog-SVN.txt b/Changelog-SVN.txt
index 7b618c145..7b64e4aa6 100644
--- a/Changelog-SVN.txt
+++ b/Changelog-SVN.txt
@@ -6,6 +6,7 @@ Date Added
upgrade your mysql as a result of the new adoption system. Thank you
-MouseJstr
+ * Fixed SQL char server crashing when loading the item_db, my bad ^^; [celest]
* More ANSI C++/C conformance fixes [SVN 1334: MouseJstr]
* Added auto save guild data (only guardian HP and owner guild ID for now,
both cached) every 5 minutes during WOE [celest]
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 75bf663d0..f8f083e85 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -3438,12 +3438,12 @@ int do_init(int argc, char **argv){
printf("charserver configuration reading done.....\n");
- //Read ItemDB
- do_init_itemdb();
-
inter_init((argc > 2) ? argv[2] : inter_cfgName); // inter server ÃʱâÈ­
printf("interserver configuration reading done.....\n");
+ //Read ItemDB
+ do_init_itemdb();
+
printf("start char server initializing.....\n");
mmo_char_sql_init();
printf("char server initializing done.....\n");