summaryrefslogtreecommitdiff
path: root/src/resources/db/skillunitdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-16 16:06:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-16 16:06:17 +0300
commit1b28203031aec74f7a11a46fb5267f642ae5fab2 (patch)
treeef907d1a54132db7704e10a633925182edbe2fb5 /src/resources/db/skillunitdb.cpp
parent0977134ffdad9ea0e79106fc633ebafd18209765 (diff)
downloadmv-1b28203031aec74f7a11a46fb5267f642ae5fab2.tar.gz
mv-1b28203031aec74f7a11a46fb5267f642ae5fab2.tar.bz2
mv-1b28203031aec74f7a11a46fb5267f642ae5fab2.tar.xz
mv-1b28203031aec74f7a11a46fb5267f642ae5fab2.zip
Fix code style.
Diffstat (limited to 'src/resources/db/skillunitdb.cpp')
-rw-r--r--src/resources/db/skillunitdb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/db/skillunitdb.cpp b/src/resources/db/skillunitdb.cpp
index c2131eca4..a92748f45 100644
--- a/src/resources/db/skillunitdb.cpp
+++ b/src/resources/db/skillunitdb.cpp
@@ -69,7 +69,8 @@ void SkillUnitDb::loadXmlFile(const std::string &fileName)
{
if (xmlNameEqual(skillUnitNode, "include"))
{
- const std::string name = XML::getProperty(skillUnitNode, "name", "");
+ const std::string name = XML::getProperty(skillUnitNode,
+ "name", "");
if (!name.empty())
loadXmlFile(name);
continue;