summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 596cdc55d..d3473872a 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1817,7 +1817,7 @@ static struct Damage battle_calc_weapon_attack(
ATK_ADD(15*skill_lv);
if (!(nk&NK_NO_ELEFIX) ||
- (s_ele == ELE_NEUTRAL && (battle_config.attack_attr_none&src->type)))
+ (s_ele == ELE_NEUTRAL && !(battle_config.attack_attr_none&src->type)))
{ //Elemental attribute fix
if (wd.damage > 0)
{