summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-14 21:16:13 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-14 21:16:13 +0000
commit5009ef5ed0113460cd7ea8591a948c76dc45821d (patch)
tree6c988e7744bc335e51956d7937852fe07aad0445
parent4e812a4b00ca4d24440b0fe876a564587ce07c35 (diff)
downloadhercules-5009ef5ed0113460cd7ea8591a948c76dc45821d.tar.gz
hercules-5009ef5ed0113460cd7ea8591a948c76dc45821d.tar.bz2
hercules-5009ef5ed0113460cd7ea8591a948c76dc45821d.tar.xz
hercules-5009ef5ed0113460cd7ea8591a948c76dc45821d.zip
Added support for item_db_re table renaming in inter_athena.conf
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15114 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--conf/inter_athena.conf1
-rw-r--r--src/map/map.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/conf/inter_athena.conf b/conf/inter_athena.conf
index 4c6191389..ad65b3dd1 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 5dab6634d..fe9b8b1df 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