diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-26 15:47:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-26 15:47:39 +0300 |
commit | 9fe86d302838c62034c0bf6c74d8ca47722bd40b (patch) | |
tree | 58aa24b936547f3489788d5afb1045c89d5029fa /src/gui/questswindow.cpp | |
parent | 61e3fa8513c1bc2644348ac6052ab87785fb119d (diff) | |
download | manaplus-9fe86d302838c62034c0bf6c74d8ca47722bd40b.tar.gz manaplus-9fe86d302838c62034c0bf6c74d8ca47722bd40b.tar.bz2 manaplus-9fe86d302838c62034c0bf6c74d8ca47722bd40b.tar.xz manaplus-9fe86d302838c62034c0bf6c74d8ca47722bd40b.zip |
dehardcode client data configuration file names.
Now names stored in paths.xml
Diffstat (limited to 'src/gui/questswindow.cpp')
-rw-r--r-- | src/gui/questswindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/questswindow.cpp b/src/gui/questswindow.cpp index 541768fa7..42042e58f 100644 --- a/src/gui/questswindow.cpp +++ b/src/gui/questswindow.cpp @@ -222,7 +222,7 @@ QuestsWindow::~QuestsWindow() void QuestsWindow::loadXml() { - XML::Document doc("quests.xml"); + XML::Document doc(paths.getStringValue("questsFile")); const XmlNodePtr root = doc.rootNode(); if (!root) return; |