summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-06 19:45:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-06 19:45:57 +0300
commit286e2b7edc988f93e347b6ccfd51da2a56d18d73 (patch)
tree5b39849f487c850be3c084f92e5a9e75fd490c3f /src/gui
parent6666bf7992292f759f1860465af104d665b12328 (diff)
downloadmanaverse-286e2b7edc988f93e347b6ccfd51da2a56d18d73.tar.gz
manaverse-286e2b7edc988f93e347b6ccfd51da2a56d18d73.tar.bz2
manaverse-286e2b7edc988f93e347b6ccfd51da2a56d18d73.tar.xz
manaverse-286e2b7edc988f93e347b6ccfd51da2a56d18d73.zip
add patch files support for other xml dbs.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/questswindow.cpp1
-rw-r--r--src/gui/windows/skilldialog.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index ec40f759f..e039b8ba4 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -182,6 +182,7 @@ QuestsWindow::QuestsWindow() :
loadWindowState();
enableVisibleSound(true);
loadXmlFile(paths.getStringValue("questsFile"));
+ loadXmlFile(paths.getStringValue("questsPatchFile"));
}
QuestsWindow::~QuestsWindow()
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index b11faedf5..989d5a96d 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -432,6 +432,7 @@ void SkillDialog::loadSkills()
loadXmlFile(paths.getStringValue("skillsFile"));
if (mSkills.empty())
loadXmlFile(paths.getStringValue("skillsFile2"));
+ loadXmlFile(paths.getStringValue("skillsPatchFile"));
update();
}