From: Daniel Karbach Date: Wed, 22 Aug 2012 19:50:25 +0000 (+0200) Subject: fixed attack choice reset bug X-Git-Url: http://git.localhorst.tv/?a=commitdiff_plain;h=6db6d2adbc3e36b385d6c508e416060afa44dd7a;hp=fde7b27297882a7f033641df92e732abd137b532;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(); } }