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