summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorMatheus Macabu <mkbu95@gmail.com>2013-07-04 17:36:16 -0300
committerMatheus Macabu <mkbu95@gmail.com>2013-07-04 17:36:16 -0300
commit0f2899cf48bd4a324e92dc33dc2bc28d1edcdae3 (patch)
tree28a722e533422e2d05b662f533d311a88b4edb6a /src/map/mob.c
parent5b1d3c5ebcbeab9730f8f4603c769c090ca4c8d1 (diff)
downloadhercules-0f2899cf48bd4a324e92dc33dc2bc28d1edcdae3.tar.gz
hercules-0f2899cf48bd4a324e92dc33dc2bc28d1edcdae3.tar.bz2
hercules-0f2899cf48bd4a324e92dc33dc2bc28d1edcdae3.tar.xz
hercules-0f2899cf48bd4a324e92dc33dc2bc28d1edcdae3.zip
Split use_sql_db into the three available: item_db, mob_db, mob_skill_db.
Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
Diffstat (limited to 'src/map/mob.c')
-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 1e79d6b93..ad3dd50c3 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -4588,7 +4588,7 @@ static void mob_load(void)
{
sv->readdb(iMap->db_path, "mob_item_ratio.txt", ',', 2, 2+MAX_ITEMRATIO_MOBS, -1, &mob_readdb_itemratio); // must be read before mobdb
mob_readchatdb();
- if (iMap->db_use_sqldbs)
+ if (iMap->db_use_sql_mob_db)
{
mob_read_sqldb();
mob_read_sqlskilldb();