|
@@ -4563,6 +4563,7 @@ static bool mob_readdb_itemratio(char* str[], int columns, int current)
|
|
|
static void mob_load(void)
|
|
|
{
|
|
|
sv_readdb(db_path, "mob_item_ratio.txt", ',', 2, 2+MAX_ITEMRATIO_MOBS, -1, &mob_readdb_itemratio); // must be read before mobdb
|
|
|
+ mob_readchatdb();
|
|
|
if (db_use_sqldbs)
|
|
|
{
|
|
|
mob_read_sqldb();
|
|
@@ -4575,7 +4576,6 @@ static void mob_load(void)
|
|
|
}
|
|
|
sv_readdb(db_path, "mob_avail.txt", ',', 2, 12, -1, &mob_readdb_mobavail);
|
|
|
mob_read_randommonster();
|
|
|
- mob_readchatdb();
|
|
|
sv_readdb(db_path, DBPATH"mob_race2_db.txt", ',', 2, 20, -1, &mob_readdb_race2);
|
|
|
}
|
|
|
|