From 0f2b317372c2d1c95d4f09c94d054958418a39b4 Mon Sep 17 00:00:00 2001 From: malufett Date: Sun, 19 Apr 2015 22:26:47 +0800 Subject: Fixed Bug#8636 -http://hercules.ws/board/tracker/issue-8636-unknown-weapon-type/?gopid=25011#entry25011 Signed-off-by: malufett --- src/map/status.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2