diff options
author | Matheus Macabu <mkbu95@gmail.com> | 2013-07-04 17:36:16 -0300 |
---|---|---|
committer | Matheus Macabu <mkbu95@gmail.com> | 2013-07-04 17:36:16 -0300 |
commit | 0f2899cf48bd4a324e92dc33dc2bc28d1edcdae3 (patch) | |
tree | 28a722e533422e2d05b662f533d311a88b4edb6a /src/map/battle.c | |
parent | 5b1d3c5ebcbeab9730f8f4603c769c090ca4c8d1 (diff) | |
download | hercules-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/battle.c')
-rw-r--r-- | src/map/battle.c | 4 |
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; |