summaryrefslogtreecommitdiff
path: root/src/resources/action.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-19 22:50:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-19 22:50:16 +0300
commitc65cb0d97fbaa37f531d6fb47ce9d798b001b637 (patch)
treecce1030add4a837913b9e730a5550a67d03d236e /src/resources/action.cpp
parent3d236906de18c846aa052f1d4cef1b0686a43854 (diff)
downloadmv-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.gz
mv-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.bz2
mv-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.xz
mv-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.zip
fix code style.
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;
}