summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2015-04-19 22:26:47 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2015-04-19 22:26:47 +0800
commit0f2b317372c2d1c95d4f09c94d054958418a39b4 (patch)
tree9602eb562995545035216cb449e29160ac12f00e /src
parent25f27b58724f053f4829d63eb720fed5768f3128 (diff)
downloadhercules-0f2b317372c2d1c95d4f09c94d054958418a39b4.tar.gz
hercules-0f2b317372c2d1c95d4f09c94d054958418a39b4.tar.bz2
hercules-0f2b317372c2d1c95d4f09c94d054958418a39b4.tar.xz
hercules-0f2b317372c2d1c95d4f09c94d054958418a39b4.zip
Fixed Bug#8636
-http://hercules.ws/board/tracker/issue-8636-unknown-weapon-type/?gopid=25011#entry25011 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 4c6542846..2ccaca1dc 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -12220,7 +12220,12 @@ void status_read_job_db(void) { /* [malufett/Hercules] */
int i = 0;
config_t job_db_conf;
config_setting_t *jdb = NULL;
- const char *config_filename = "db/"DBPATH"job_db.conf";
+ const char *config_filename =
+#ifdef RENEWAL_ASPD
+ "db/re/job_db.conf";
+#else
+ "db/pre/job_db.conf";
+#endif
if ( libconfig->read_file(&job_db_conf, config_filename) ) {
ShowError("can't read %s\n", config_filename);