remove unused var

This commit is contained in:
ErikasKontenis 2020-03-11 14:09:11 +02:00
parent dca9e61345
commit f8de994f4b

View File

@ -869,12 +869,6 @@ bool Combat::closeAttack(Creature* attacker, Creature* target, fightMode_t fight
Combat::getAttackValue(attacker, attackValue, skillValue, skill);
int32_t defense = target->getDefense();
if (OTSYS_TIME() < target->earliestDefendTime) {
defense = 0;
}
CombatParams combatParams;
combatParams.blockedByArmor = true;
combatParams.blockedByShield = true;