summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorlordttseven <lordttseven@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 13:32:13 +0000
committerlordttseven <lordttseven@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 13:32:13 +0000
commit59dc4717ad51d0d756a9097495868577b7433054 (patch)
treea678e3303bc5c0486b87f70e1ccbd33643d2b676 /src/map/status.c
parent062e6a90f493c6a2cd6b3ec8ae30cade9b58983d (diff)
downloadhercules-59dc4717ad51d0d756a9097495868577b7433054.tar.gz
hercules-59dc4717ad51d0d756a9097495868577b7433054.tar.bz2
hercules-59dc4717ad51d0d756a9097495868577b7433054.tar.xz
hercules-59dc4717ad51d0d756a9097495868577b7433054.zip
* uncluttered DB paths between REMODE on/off a little
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15719 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/map/status.c b/src/map/status.c
index d6c180e7d..8fdfdb6a5 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -10169,12 +10169,9 @@ int status_readdb(void)
sv_readdb(db_path, "job_db2.txt", ',', 1, 1+MAX_LEVEL, -1, &status_readdb_job2);
sv_readdb(db_path, "size_fix.txt", ',', MAX_WEAPON_TYPE, MAX_WEAPON_TYPE, ARRAYLENGTH(atkmods), &status_readdb_sizefix);
#if REMODE
- sv_readdb(db_path, "re/refine_db.txt", ',', 3+MAX_REFINE+1, 3+MAX_REFINE+1, ARRAYLENGTH(percentrefinery), &status_readdb_refine);
- sv_readdb(db_path, "re/job_db_extra.txt", ',', 1+RE_JOB_DB_MAX, 1+RE_JOB_DB_MAX, -1, &status_readdb_job_re);
-#else
- sv_readdb(db_path, "pre-re/refine_db.txt", ',', 3+MAX_REFINE+1, 3+MAX_REFINE+1, ARRAYLENGTH(percentrefinery), &status_readdb_refine);
+ sv_readdb(db_path, DBPATH"job_db_extra.txt", ',', 1+RE_JOB_DB_MAX, 1+RE_JOB_DB_MAX, -1, &status_readdb_job_re);
#endif
-
+ sv_readdb(db_path, DBPATH"refine_db.txt", ',', 3+MAX_REFINE+1, 3+MAX_REFINE+1, ARRAYLENGTH(percentrefinery), &status_readdb_refine);
return 0;
}