From: Daniel Karbach Date: Wed, 22 Aug 2012 19:50:25 +0000 (+0200) Subject: fixed attack choice reset bug X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=6db6d2adbc3e36b385d6c508e416060afa44dd7a;p=l2e.git fixed attack choice reset bug did not reset the first hero's attack choice when cancelling the second hero's selection --- diff --git a/src/battle/states/SelectAttackType.cpp b/src/battle/states/SelectAttackType.cpp index 3157ca7..7f36681 100644 --- a/src/battle/states/SelectAttackType.cpp +++ b/src/battle/states/SelectAttackType.cpp @@ -114,7 +114,7 @@ void SelectAttackType::HandleEvents(const Input &input) { if (battle->BeforeFirstHero()) { ctrl->ChangeState(new SelectMoveAction(battle)); } else { - ac.Reset(); + battle->ActiveHero().GetAttackChoice().Reset(); } }