diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-26 23:25:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-26 23:25:32 +0300 |
commit | 3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0 (patch) | |
tree | d7f1400583c5bc6916129e05fc5e0907d1081ca9 /src/resources/db/homunculusdb.cpp | |
parent | 6112e911a5b702fa1a9fca7bb6300f0195cbe685 (diff) | |
download | mv-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.gz mv-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.bz2 mv-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.xz mv-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.zip |
Fix code style.
Diffstat (limited to 'src/resources/db/homunculusdb.cpp')
-rw-r--r-- | src/resources/db/homunculusdb.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/db/homunculusdb.cpp b/src/resources/db/homunculusdb.cpp index 317d0c2df..291fa8262 100644 --- a/src/resources/db/homunculusdb.cpp +++ b/src/resources/db/homunculusdb.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 HomunculusDB::loadXmlFile(const std::string &fileName) { if (xmlNameEqual(homunculusNode, "include")) { - const std::string name = XML::getProperty(homunculusNode, "name", ""); + const std::string name = XML::getProperty( + homunculusNode, "name", ""); if (!name.empty()) loadXmlFile(name); continue; @@ -95,7 +94,8 @@ void HomunculusDB::loadXmlFile(const std::string &fileName) currentInfo = new BeingInfo; currentInfo->setBlockType(BlockType::MONSTER); - BeingCommon::readBasicAttributes(currentInfo, homunculusNode, "attack"); + BeingCommon::readBasicAttributes(currentInfo, + homunculusNode, "attack"); currentInfo->setMaxHP(XML::getProperty(homunculusNode, "maxHP", 0)); |