diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-10 19:23:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-10 19:23:42 +0300 |
commit | dd18101f7bcc1962e1378766165351aa4cfda01d (patch) | |
tree | c17e27e70422cbd357f7206a37f06385bfe3b1e2 /src/effectmanager.cpp | |
parent | ea31c48b1d89c1fb849278c21a74a680b289f29f (diff) | |
download | manaverse-dd18101f7bcc1962e1378766165351aa4cfda01d.tar.gz manaverse-dd18101f7bcc1962e1378766165351aa4cfda01d.tar.bz2 manaverse-dd18101f7bcc1962e1378766165351aa4cfda01d.tar.xz manaverse-dd18101f7bcc1962e1378766165351aa4cfda01d.zip |
Fix code style.
Diffstat (limited to 'src/effectmanager.cpp')
-rw-r--r-- | src/effectmanager.cpp | 6 |
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: |