case AttackChoice::SWORD:
if (hero.HasWeapon()) {
titleBarText = hero.Weapon()->Name();
+ targetAnimation = hero.Weapon()->AttackAnimation();
} else {
titleBarText = "Melee attack!";
+ targetAnimation = hero.MeleeAnimation();
}
moveAnimation = hero.AttackAnimation();
- targetAnimation = hero.MeleeAnimation();
numberAnimation.push_back(NumberAnimation(15, battle->Res().numberAnimationPrototype, battle->Res().bigNumberSprite));
if (ac.Selection().TargetsEnemies()) {