]> git.localhorst.tv Git - l2e.git/commitdiff
removed pasting fail from ikari selection
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Sat, 25 Aug 2012 17:46:22 +0000 (19:46 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Sat, 25 Aug 2012 17:46:22 +0000 (19:46 +0200)
src/battle/states/SelectIkari.cpp

index 87436b0faad8d862a58f82f185013d309a8f4fc9..d1506fa23ee2f41fa6d03d7afa04af7e54b0c8ef 100644 (file)
@@ -62,8 +62,7 @@ void SelectIkari::HandleEvents(const Input &input) {
                                ac.Selection().SelectMonsters();
                        }
                        if (ikari->GetTargetingMode().TargetsAll()) {
-                               ac.SetType(AttackChoice::MAGIC);
-                               // TODO: remove item from inventory
+                               ac.SetType(AttackChoice::IKARI);
                                ac.SetItem(battle->ActiveHero().IkariMenu().Selected());
                                battle->NextHero();
                                ctrl->PopState();