summaryrefslogtreecommitdiff
path: root/src/resources/action.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/action.cpp')
-rw-r--r--src/resources/action.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/action.cpp b/src/resources/action.cpp
index 8576ffab8..c7ae94984 100644
--- a/src/resources/action.cpp
+++ b/src/resources/action.cpp
@@ -46,7 +46,8 @@ const Animation *Action::getAnimation(SpriteDirection::Type direction)
if (i == mAnimations.end())
{
- if (direction == SpriteDirection::UPLEFT || direction == SpriteDirection::UPRIGHT)
+ if (direction == SpriteDirection::UPLEFT
+ || direction == SpriteDirection::UPRIGHT)
{
direction = SpriteDirection::UP;
}