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 9919867e4..c0b50b444 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -987,7 +987,7 @@ static struct Damage battle_calc_weapon_attack(
if (skill_num == GS_GROUNDDRIFT)
s_ele = s_ele_ = wflag; //element comes in flag.
- if (s_ele != ELE_NEUTRAL && (battle_config.attack_attr_none&src->type))
+ if (s_ele == ELE_NEUTRAL && (battle_config.attack_attr_none&src->type))
nk|=NK_NO_ELEFIX;
if(!skill_num)