summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-19 00:59:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-19 00:59:33 +0300
commitc3395e41d8b48de2958a3d6b9f9e07c2e44b65c3 (patch)
tree444e859906b9bfe66b49fcb1f91d51c9541f13e0
parent41951c02b8636bce19c488aae738d7d0ac61df3d (diff)
downloadmanaplus-c3395e41d8b48de2958a3d6b9f9e07c2e44b65c3.tar.gz
manaplus-c3395e41d8b48de2958a3d6b9f9e07c2e44b65c3.tar.bz2
manaplus-c3395e41d8b48de2958a3d6b9f9e07c2e44b65c3.tar.xz
manaplus-c3395e41d8b48de2958a3d6b9f9e07c2e44b65c3.zip
Fix code style in effectmanager.
-rw-r--r--src/effectmanager.cpp3
-rw-r--r--src/effectmanager.h10
2 files changed, 9 insertions, 4 deletions
diff --git a/src/effectmanager.cpp b/src/effectmanager.cpp
index dafe977d7..fbcdade40 100644
--- a/src/effectmanager.cpp
+++ b/src/effectmanager.cpp
@@ -51,7 +51,8 @@ void EffectManager::loadXmlFile(const std::string &fileName)
XML::Document doc(fileName, UseResman_true, SkipError_false);
const XmlNodePtrConst root = doc.rootNode();
- if (!root || !xmlNameEqual(root, "being-effects"))
+ if (!root ||
+ !xmlNameEqual(root, "being-effects"))
{
logger->log("Error loading being effects file: " + fileName);
return;
diff --git a/src/effectmanager.h b/src/effectmanager.h
index 16425908a..a76899e25 100644
--- a/src/effectmanager.h
+++ b/src/effectmanager.h
@@ -51,12 +51,16 @@ class EffectManager final
* Triggers a effect with the id, at
* the specified being.
*/
- bool trigger(const int id, Being *const being, const int rotation = 0);
+ bool trigger(const int id,
+ Being *const being,
+ const int rotation = 0);
- bool triggerDirection(const int id, Being *const being,
+ bool triggerDirection(const int id,
+ Being *const being,
const SpriteDirection::Type &direction);
- Particle *triggerReturn(const int id, Being *const being,
+ Particle *triggerReturn(const int id,
+ Being *const being,
const int rotation = 0);
/**