diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2017-03-17 22:17:30 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2017-03-17 22:17:30 -0400 |
commit | 19ade83b74aa66c80129409d97c2c98fa8b8534c (patch) | |
tree | ed8fdfb53a302d1e236cb74b7f0413f83f55020d /src/attack.cpp | |
parent | bf01660ab468f49d63a133c28131ab21bba3a1a1 (diff) |
bow & arrow draft
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; } |