diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-19 22:50:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-19 22:50:16 +0300 |
commit | c65cb0d97fbaa37f531d6fb47ce9d798b001b637 (patch) | |
tree | cce1030add4a837913b9e730a5550a67d03d236e /src/resources/action.cpp | |
parent | 3d236906de18c846aa052f1d4cef1b0686a43854 (diff) | |
download | plus-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.gz plus-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.bz2 plus-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.tar.xz plus-c65cb0d97fbaa37f531d6fb47ce9d798b001b637.zip |
fix code style.
Diffstat (limited to 'src/resources/action.cpp')
-rw-r--r-- | src/resources/action.cpp | 3 |
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; } |