From 5ce6f6c51a3f65c52806690e0f24429df205e81a Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 4 Aug 2008 03:19:00 +0000 Subject: [PATCH] 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 --- Changelog-Trunk.txt | 2 ++ conf/inter_athena.conf | 2 ++ src/char_sql/char.c | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 26b0d4f4fd..da68356b98 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 8fa68a3ca6..9d8a1917b2 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 e030621977..4d37deaae4 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);