summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-26 15:47:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-26 15:47:39 +0300
commit9fe86d302838c62034c0bf6c74d8ca47722bd40b (patch)
tree58aa24b936547f3489788d5afb1045c89d5029fa /src/gui/equipmentwindow.cpp
parent61e3fa8513c1bc2644348ac6052ab87785fb119d (diff)
downloadmanaverse-9fe86d302838c62034c0bf6c74d8ca47722bd40b.tar.gz
manaverse-9fe86d302838c62034c0bf6c74d8ca47722bd40b.tar.bz2
manaverse-9fe86d302838c62034c0bf6c74d8ca47722bd40b.tar.xz
manaverse-9fe86d302838c62034c0bf6c74d8ca47722bd40b.zip
dehardcode client data configuration file names.
Now names stored in paths.xml
Diffstat (limited to 'src/gui/equipmentwindow.cpp')
-rw-r--r--src/gui/equipmentwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index 802a08559..8511c7643 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -401,7 +401,8 @@ void EquipmentWindow::resetBeing(const Being *const being)
void EquipmentWindow::fillBoxes()
{
- XML::Document *const doc = new XML::Document("equipmentwindow.xml");
+ XML::Document *const doc = new XML::Document(
+ paths.getStringValue("equipmentWindowFile"));
const XmlNodePtr root = doc->rootNode();
if (!root)
{