summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
/**