From dd18101f7bcc1962e1378766165351aa4cfda01d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 10 Apr 2015 19:23:42 +0300 Subject: Fix code style. --- src/effectmanager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/effectmanager.cpp') 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: -- cgit v1.2.3-70-g09d2