Browse Source

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
shennetsind 13 years ago
parent
commit
f04eecd9ae
2 changed files with 4 additions and 0 deletions
  1. 1 0
      conf/inter_athena.conf
  2. 3 0
      src/map/map.c

+ 1 - 0
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

+ 3 - 0
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