From 952432e5f073fa9d840ff4acdb3abfc53335a5d3 Mon Sep 17 00:00:00 2001 From: Lance Date: Thu, 25 May 2006 12:04:09 +0000 Subject: * Fixed mob control commands. * Fixed memory leak in scripts (again). Still have a few lying. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6749 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 41c2f9c16..b1e211189 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3439,7 +3439,7 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f else state |= BCT_ENEMY; //However, all else are enemies. } else { - if (t_bl->type == BL_MOB && !((TBL_MOB*)t_bl)->special_state.ai) + //if (t_bl->type == BL_MOB && !((TBL_MOB*)t_bl)->special_state.ai) state |= BCT_ENEMY; //Natural enemy for AI mobs are normal mobs. } if (md->master_id && (s_bl = map_id2bl(md->master_id)) == NULL) -- cgit v1.2.3-70-g09d2