From 0f2899cf48bd4a324e92dc33dc2bc28d1edcdae3 Mon Sep 17 00:00:00 2001 From: Matheus Macabu Date: Thu, 4 Jul 2013 17:36:16 -0300 Subject: Split use_sql_db into the three available: item_db, mob_db, mob_skill_db. Signed-off-by: Matheus Macabu --- src/map/battle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index b9669c319..18c95c76d 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -6554,8 +6554,8 @@ void Hercules_report(char* date, char *time_c) { #endif /* non-define part */ - if( iMap->db_use_sqldbs ) - config |= C_SQL_DBS; + if( iMap->db_use_sql_item_db || iMap->db_use_sql_mob_db || iMap->db_use_sql_mob_skill_db ) + config |= C_SQL_DBS; //TODO: split this config into three. if( logs->config.sql_logs ) config |= C_SQL_LOGS; -- cgit v1.2.3-70-g09d2