From 145a4fe644c4fe856ba6f83086e8ee5075caad99 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 19 Mar 2015 10:23:52 -0300 Subject: Fixed Bug 8582 Solves an issue where an skill unit left-area event would not triggered due to duels. Special Thanks to Haruna, kyeme. http://hercules.ws/board/tracker/issue-8582-infinite-songs/ Signed-off-by: shennetsind --- src/map/battle.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/map') diff --git a/src/map/battle.c b/src/map/battle.c index 4ce4b7d1c..70b9550d0 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -6514,8 +6514,6 @@ 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 - return 0; // You can't target anything out of your duel } } if( map_flag_gvg(m) && !sd->status.guild_id && t_bl->type == BL_MOB && ((TBL_MOB*)t_bl)->class_ == MOBID_EMPERIUM ) -- cgit v1.2.3-70-g09d2