From 5c667ccb1e95614177d5c849761040be09abc746 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 24 Feb 2013 19:37:20 -0300 Subject: Fixed logical issue / gcc warning Signed-off-by: shennetsind --- 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 36237c79e..7fc9ad237 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -5215,7 +5215,7 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f case BL_MOB: if(((((TBL_MOB*)target)->special_state.ai == 2 || //Marine Spheres (((TBL_MOB*)target)->special_state.ai == 3 && battle_config.summon_flora&1)) && //Floras - s_bl->type == BL_PC && src->type != BL_MOB) || ((TBL_MOB*)target)->special_state.ai == 4 && t_bl->id != s_bl->id) //Zanzoe + s_bl->type == BL_PC && src->type != BL_MOB) || (((TBL_MOB*)target)->special_state.ai == 4 && t_bl->id != s_bl->id)) //Zanzoe { //Targettable by players state |= BCT_ENEMY; strip_enemy = 0; -- cgit v1.2.3-60-g2f50