summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-30 19:42:42 +0000
committerxantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-30 19:42:42 +0000
commit20ea235901d685237af6317d54f8087ab10a8e48 (patch)
treef8002a0b31c632bf487970c22c5aa58ef9034c95
parent6a7e9ab76af0f44e7452c78f99bef93af2d1209b (diff)
downloadhercules-20ea235901d685237af6317d54f8087ab10a8e48.tar.gz
hercules-20ea235901d685237af6317d54f8087ab10a8e48.tar.bz2
hercules-20ea235901d685237af6317d54f8087ab10a8e48.tar.xz
hercules-20ea235901d685237af6317d54f8087ab10a8e48.zip
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
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
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);
}