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/char | |
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/char')
-rw-r--r-- | src/char/char.c | 4 | ||||
-rw-r--r-- | src/char/char.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c index edc73223a..a941dac14 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -75,7 +75,9 @@ static DBMap* char_db_; // int char_id -> struct mmo_charstatus* char db_path[1024] = "db"; -int db_use_sqldbs; +int db_use_sql_item_db; +int db_use_sql_mob_db; +int db_use_sql_mob_skill_db; struct mmo_map_server { int fd; diff --git a/src/char/char.h b/src/char/char.h index 1a9441868..d98ce9004 100644 --- a/src/char/char.h +++ b/src/char/char.h @@ -105,7 +105,9 @@ extern char mercenary_owner_db[256]; extern char ragsrvinfo_db[256]; extern char interreg_db[32]; -extern int db_use_sqldbs; // added for sql item_db read for char server [Valaris] +extern int db_use_sql_item_db; +extern int db_use_sql_mob_db; +extern int db_use_sql_mob_skill_db; extern int guild_exp_rate; extern int log_inter; |