Fixed bugreport:6136, mob chat should now be working.
- Chat database should be read before the mob db git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16357 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
8813c242c5
commit
c922bf99a4
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user