diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-23 20:05:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-23 20:05:05 +0300 |
commit | 70e9b4d7aaf0e93dc715a201b1cca12900c72b37 (patch) | |
tree | 3bf4e7f35b9c59cdda4fe54686bebbca7e41ef03 /src/resources/db/horsedb.cpp | |
parent | cf1a1df92c0b6993df420456fce2654263e3dbc8 (diff) | |
download | manaverse-70e9b4d7aaf0e93dc715a201b1cca12900c72b37.tar.gz manaverse-70e9b4d7aaf0e93dc715a201b1cca12900c72b37.tar.bz2 manaverse-70e9b4d7aaf0e93dc715a201b1cca12900c72b37.tar.xz manaverse-70e9b4d7aaf0e93dc715a201b1cca12900c72b37.zip |
Fix code style.
Diffstat (limited to 'src/resources/db/horsedb.cpp')
-rw-r--r-- | src/resources/db/horsedb.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/resources/db/horsedb.cpp b/src/resources/db/horsedb.cpp index db8aa7dc3..f4c5bf8c0 100644 --- a/src/resources/db/horsedb.cpp +++ b/src/resources/db/horsedb.cpp @@ -131,10 +131,14 @@ void HorseDB::loadXmlFile(const std::string &fileName) continue; const int offsetX = XML::getProperty(horseNode, "offsetX", 0); const int offsetY = XML::getProperty(horseNode, "offsetY", 0); - currentInfo->upOffsetX = XML::getProperty(horseNode, "upOffsetX", offsetX); - currentInfo->upOffsetY = XML::getProperty(horseNode, "upOffsetY", offsetY); - currentInfo->downOffsetX = XML::getProperty(horseNode, "downOffsetX", offsetX); - currentInfo->downOffsetY = XML::getProperty(horseNode, "downOffsetY", offsetY); + currentInfo->upOffsetX = XML::getProperty(horseNode, + "upOffsetX", offsetX); + currentInfo->upOffsetY = XML::getProperty(horseNode, + "upOffsetY", offsetY); + currentInfo->downOffsetX = XML::getProperty(horseNode, + "downOffsetX", offsetX); + currentInfo->downOffsetY = XML::getProperty(horseNode, + "downOffsetY", offsetY); for_each_xml_child_node(spriteNode, horseNode) { |