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 e1a9a3ff3..736ec637d 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -251,7 +251,7 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,i
sc = status_get_sc(bl);
- if(flag&(BF_MAGIC|BF_LONG) == BF_LONG &&
+ if((flag&(BF_MAGIC|BF_LONG)) == BF_LONG &&
map_getcell(bl->m, bl->x, bl->y, CELL_CHKPNEUMA) &&
skill_num != NPC_GUIDEDATTACK)
return 0;