X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FSelectSpell.cpp;h=db5bb45981c723727758a85968c9f8cfe947c01d;hb=b7a90738b9ae701cfc86bf74a11ba59d7fcb17ba;hp=f50e05947a2b819d2085c5eda80363da68b65f85;hpb=ee2e9e25571908bc840b08ab954be05f357e7f58;p=l2e.git diff --git a/src/battle/states/SelectSpell.cpp b/src/battle/states/SelectSpell.cpp index f50e059..db5bb45 100644 --- a/src/battle/states/SelectSpell.cpp +++ b/src/battle/states/SelectSpell.cpp @@ -50,6 +50,7 @@ void SelectSpell::HandleInput(const Input &input) { if (input.JustPressed(Input::ACTION_A)) { // TODO: switch to target select if (battle->GetSpellMenu().SelectedIsEnabled()) { + battle->SetAttackType(AttackChoice::MAGIC); battle->NextHero(); ctrl->PopState(); }