Browse Source

Added configs for quest table name adjustment (bugreport:1778)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13041 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 17 năm trước cách đây
mục cha
commit
5ce6f6c51a
3 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 2 0
      Changelog-Trunk.txt
  2. 2 0
      conf/inter_athena.conf
  3. 4 0
      src/char_sql/char.c

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,8 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
+2008/08/04
+	* Added configs for quest table name adjustment (bugreport:1778)
 2008/08/02
 	* Player shops will not close on death anymore (bugreport:1955)
 2008/08/01

+ 2 - 0
conf/inter_athena.conf

@@ -106,6 +106,8 @@ pet_db: pet
 friend_db: friends
 mail_db: mail
 auction_db: auction
+quest_db: quest
+quest_obj_db: quest_objective
 
 // Map Database Tables
 item_db_db: item_db

+ 4 - 0
src/char_sql/char.c

@@ -3603,6 +3603,10 @@ void sql_config_read(const char* cfgName)
 			strcpy(friend_db,w2);
 		else if(!strcmpi(w1,"hotkey_db"))
 			strcpy(hotkey_db,w2);
+		else if(!strcmpi(w1,"quest_db"))
+			strcpy(quest_db,w2);
+		else if(!strcmpi(w1,"quest_obj_db"))
+			strcpy(quest_obj_db, w2);
 #ifndef TXT_SQL_CONVERT
 		else if(!strcmpi(w1,"db_path"))
 			strcpy(db_path,w2);