From f04eecd9ae72e88bc8e2bda34c4edc299e7869cf Mon Sep 17 00:00:00 2001 From: shennetsind Date: Wed, 14 Dec 2011 21:16:13 +0000 Subject: [PATCH] Added support for item_db_re table renaming in inter_athena.conf git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15114 54d463be-8e91-2dee-dedb-b68131a5f0ec --- conf/inter_athena.conf | 1 + src/map/map.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/conf/inter_athena.conf b/conf/inter_athena.conf index 4c61913898..ad65b3dd1b 100644 --- a/conf/inter_athena.conf +++ b/conf/inter_athena.conf @@ -124,6 +124,7 @@ quest_db: quest // Map Database Tables item_db_db: item_db +item_db_re_db: item_db_re item_db2_db: item_db2 mob_db_db: mob_db mob_db2_db: mob_db2 diff --git a/src/map/map.c b/src/map/map.c index 5dab6634d5..fe9b8b1df4 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -3249,6 +3249,9 @@ int inter_config_read(char *cfgName) if(strcmpi(w1,"item_db2_db")==0) strcpy(item_db2_db,w2); else + if(strcmpi(w1,"item_db_re_db")==0) + strcpy(item_db_re_db,w2); + else if(strcmpi(w1,"mob_db2_db")==0) strcpy(mob_db2_db,w2); else