From f872adf65b9f25926ec3e0d8369a97e0c95e86a4 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 9 Feb 2012 19:47:55 +0000 Subject: Fixed bug with hunter traps working on mobs when cast by other mobs, bugreport:5278 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15559 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/battle.c b/src/map/battle.c index 6cf116db4..ebea3a44f 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -4192,7 +4192,7 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f int inf2 = 0; if (!su->group) return 0; - if( battle_config.vs_traps_bctall && + if( battle_config.vs_traps_bctall && (target->type&battle_config.vs_traps_bctall) && (inf2 = skill_get_inf2(su->group->skill_id))&INF2_TRAP && map_flag_vs(src->m) ) return 1;//traps may target everyone -- cgit v1.2.3-70-g09d2