summaryrefslogtreecommitdiff
path: root/src/effectmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-10 19:23:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-10 19:23:42 +0300
commitdd18101f7bcc1962e1378766165351aa4cfda01d (patch)
treec17e27e70422cbd357f7206a37f06385bfe3b1e2 /src/effectmanager.cpp
parentea31c48b1d89c1fb849278c21a74a680b289f29f (diff)
downloadplus-dd18101f7bcc1962e1378766165351aa4cfda01d.tar.gz
plus-dd18101f7bcc1962e1378766165351aa4cfda01d.tar.bz2
plus-dd18101f7bcc1962e1378766165351aa4cfda01d.tar.xz
plus-dd18101f7bcc1962e1378766165351aa4cfda01d.zip
Fix code style.
Diffstat (limited to 'src/effectmanager.cpp')
-rw-r--r--src/effectmanager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/effectmanager.cpp b/src/effectmanager.cpp
index a6671870b..e029faefa 100644
--- a/src/effectmanager.cpp
+++ b/src/effectmanager.cpp
@@ -87,6 +87,10 @@ bool EffectManager::triggerDirection(const int id, Being *const being,
switch (direction)
{
case SpriteDirection::DOWN:
+ case SpriteDirection::DOWNRIGHT:
+ case SpriteDirection::DOWNLEFT:
+ case SpriteDirection::DEFAULT:
+ case SpriteDirection::INVALID:
default:
rotation = 0;
break;
@@ -94,6 +98,8 @@ bool EffectManager::triggerDirection(const int id, Being *const being,
rotation = 90;
break;
case SpriteDirection::UP:
+ case SpriteDirection::UPRIGHT:
+ case SpriteDirection::UPLEFT:
rotation = 180;
break;
case SpriteDirection::RIGHT: