summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-08 14:54:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-08 14:54:25 +0300
commitc23b91cd462346fe395143baec7b0e7edd253b4a (patch)
treeff7d62358504ab475b09fb01a68c2ff484f9bb25
parent0975dc4cd9012b098061f0201028896d578649f8 (diff)
downloadmanaplus-c23b91cd462346fe395143baec7b0e7edd253b4a.tar.gz
manaplus-c23b91cd462346fe395143baec7b0e7edd253b4a.tar.bz2
manaplus-c23b91cd462346fe395143baec7b0e7edd253b4a.tar.xz
manaplus-c23b91cd462346fe395143baec7b0e7edd253b4a.zip
fix skilldb loading.
-rw-r--r--src/gui/windows/skilldialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index ce7c1027a..aabe02e1c 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -440,7 +440,7 @@ void SkillDialog::loadSkills()
void SkillDialog::loadXmlFile(const std::string &fileName)
{
- XML::Document doc(paths.getStringValue("skillsFile"));
+ XML::Document doc(fileName);
XmlNodePtr root = doc.rootNode();
int setCount = 0;