diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-14 21:47:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-14 21:47:02 +0300 |
commit | 24a5939846bf593e17e09f3564d941a7c2a5bf27 (patch) | |
tree | e37187b6411480aeb385accc9345c14ab2652ebe /src/resources/db/colordb.cpp | |
parent | 4424f769af82000bc84b9d4c9f46c20834a817e6 (diff) | |
download | plus-24a5939846bf593e17e09f3564d941a7c2a5bf27.tar.gz plus-24a5939846bf593e17e09f3564d941a7c2a5bf27.tar.bz2 plus-24a5939846bf593e17e09f3564d941a7c2a5bf27.tar.xz plus-24a5939846bf593e17e09f3564d941a7c2a5bf27.zip |
fix code style.
Diffstat (limited to 'src/resources/db/colordb.cpp')
-rw-r--r-- | src/resources/db/colordb.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resources/db/colordb.cpp b/src/resources/db/colordb.cpp index e4d5b83a0..34e0614c0 100644 --- a/src/resources/db/colordb.cpp +++ b/src/resources/db/colordb.cpp @@ -79,7 +79,6 @@ void ColorDB::loadHair(const std::string &fileName, { XML::Document *doc = new XML::Document(fileName); XmlNodePtr root = doc->rootNode(); - bool hairXml = true; if (!root || !xmlNameEqual(root, "colors")) { @@ -107,7 +106,7 @@ void ColorDB::loadHair(const std::string &fileName, logger->log("ColorDB: Redefinition of dye ID %d", id); colors[id] = ItemColor(id, XML::langProperty(node, "name", ""), - XML::getProperty(node, hairXml ? "value" : "dye", "#FFFFFF")); + XML::getProperty(node, "value", "#FFFFFF")); } } |