summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c4
1 files changed, 2 insertions, 2 deletions
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;