Skip to content

Commit

Permalink
Fixed an issue caused by duel-song interaction
Browse files Browse the repository at this point in the history
- Fixes #546 (follow-up to 127f9b5)
- Special thanks to kyeme, Mordekaiser

Signed-off-by: Haru <haru@dotalux.com>
  • Loading branch information
MishimaHaruna committed Aug 9, 2015
1 parent 8caa0e5 commit aa9360c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/battle.c
Expand Up @@ -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;
}
}
Expand Down

1 comment on commit aa9360c

@kyeme
Copy link

@kyeme kyeme commented on aa9360c Aug 10, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you and i love you ☺️

Please sign in to comment.