From aa9360cf69c30d26d7333b0c6c952b02b99bcba1 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 9 Aug 2015 20:49:03 +0200 Subject: [PATCH] Fixed an issue caused by duel-song interaction - Fixes #546 (follow-up to 127f9b52a4030a655564584b95b7c10dfdcb04e6) - Special thanks to kyeme, Mordekaiser Signed-off-by: Haru --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/battle.c b/src/map/battle.c index 3575dea6f50..f64fde55f7f 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -6532,7 +6532,7 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f ) { if( t_bl->type == BL_PC && (sd->duel_group == ((TBL_PC*)t_bl)->duel_group) ) return (BCT_ENEMY&flag)?1:-1; // Duel targets can ONLY be your enemy, nothing else. - else if ( src->type != BL_SKILL || (flag&BCT_ENEMY) ) + else if (src->type != BL_SKILL || (flag&BCT_ALL) != BCT_ALL) return 0; } }