summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-04 03:19:00 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-04 03:19:00 +0000
commit00853b9ce8a1d53640709d3a7933b1a74e623d3a (patch)
treefc01bf0bfad6a2a54f640098cd1e2d6c49a7f685
parente08a5d0371cba560a7ad8c93ddffb38692036c08 (diff)
downloadhercules-00853b9ce8a1d53640709d3a7933b1a74e623d3a.tar.gz
hercules-00853b9ce8a1d53640709d3a7933b1a74e623d3a.tar.bz2
hercules-00853b9ce8a1d53640709d3a7933b1a74e623d3a.tar.xz
hercules-00853b9ce8a1d53640709d3a7933b1a74e623d3a.zip
Added configs for quest table name adjustment (bugreport:1778)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13041 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--conf/inter_athena.conf2
-rw-r--r--src/char_sql/char.c4
3 files changed, 8 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 26b0d4f4f..da68356b9 100644
--- a/Changelog-Trunk.txt
+++ b/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
diff --git a/conf/inter_athena.conf b/conf/inter_athena.conf
index 8fa68a3ca..9d8a1917b 100644
--- a/conf/inter_athena.conf
+++ b/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
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index e03062197..4d37deaae 100644
--- a/src/char_sql/char.c
+++ b/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);