From 20ea235901d685237af6317d54f8087ab10a8e48 Mon Sep 17 00:00:00 2001 From: xantara Date: Sat, 30 Jun 2012 19:42:42 +0000 Subject: Fixed bugreport:6136, mob chat should now be working. - Chat database should be read before the mob db git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16357 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/mob.c') diff --git a/src/map/mob.c b/src/map/mob.c index 86eee36f5..0ae9d6664 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -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); } -- cgit v1.2.3-70-g09d2