summaryrefslogtreecommitdiff
path: root/src/resources/db/mercenarydb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-26 23:25:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-26 23:25:32 +0300
commit3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0 (patch)
treed7f1400583c5bc6916129e05fc5e0907d1081ca9 /src/resources/db/mercenarydb.cpp
parent6112e911a5b702fa1a9fca7bb6300f0195cbe685 (diff)
downloadManaVerse-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.gz
ManaVerse-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.bz2
ManaVerse-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.xz
ManaVerse-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.zip
Fix code style.
Diffstat (limited to 'src/resources/db/mercenarydb.cpp')
-rw-r--r--src/resources/db/mercenarydb.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/resources/db/mercenarydb.cpp b/src/resources/db/mercenarydb.cpp
index 432b64006..f1fb26a64 100644
--- a/src/resources/db/mercenarydb.cpp
+++ b/src/resources/db/mercenarydb.cpp
@@ -26,12 +26,10 @@
#include "resources/beingcommon.h"
#include "resources/beinginfo.h"
-#include "resources/spritereference.h"
#include "resources/map/blockmask.h"
#include "utils/dtor.h"
-#include "utils/gettext.h"
#include "configuration.h"
@@ -76,7 +74,8 @@ void MercenaryDB::loadXmlFile(const std::string &fileName)
{
if (xmlNameEqual(mercenaryNode, "include"))
{
- const std::string name = XML::getProperty(mercenaryNode, "name", "");
+ const std::string name = XML::getProperty(
+ mercenaryNode, "name", "");
if (!name.empty())
loadXmlFile(name);
continue;