diff options
Diffstat (limited to 'src/attack.cpp')
-rw-r--r-- | src/attack.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/attack.cpp b/src/attack.cpp index fd171a0..4047b0a 100644 --- a/src/attack.cpp +++ b/src/attack.cpp @@ -34,6 +34,7 @@ void AttackSystem::update(entityx::EntityManager& en, entityx::EventManager& ev, for (const auto& a : attacks) { switch (a.type) { case AttackType::ShortSlash: + case AttackType::LongSlash: en.each<Position, Solid, Health>( [&a](entityx::Entity e, Position& pos, Solid& dim, Health& h) { (void)e; @@ -48,8 +49,6 @@ void AttackSystem::update(entityx::EntityManager& en, entityx::EventManager& ev, } ); break; - case AttackType::LongSlash: - break; default: break; } |