diff options
author | Haru <haru@dotalux.com> | 2015-08-09 20:49:03 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-08-09 21:14:03 +0200 |
commit | aa9360cf69c30d26d7333b0c6c952b02b99bcba1 (patch) | |
tree | d586165231a1001db71d997d594eb3efb6ed3729 | |
parent | 8caa0e564b5331a88d8dc1712513368b37ba9694 (diff) | |
download | hercules-aa9360cf69c30d26d7333b0c6c952b02b99bcba1.tar.gz hercules-aa9360cf69c30d26d7333b0c6c952b02b99bcba1.tar.bz2 hercules-aa9360cf69c30d26d7333b0c6c952b02b99bcba1.tar.xz hercules-aa9360cf69c30d26d7333b0c6c952b02b99bcba1.zip |
Fixed an issue caused by duel-song interaction
- Fixes #546 (follow-up to 127f9b52a4030a655564584b95b7c10dfdcb04e6)
- Special thanks to kyeme, Mordekaiser
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 3575dea6f..f64fde55f 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; } } |