diff options
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 3e425f595..72d0a8aaa 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -762,7 +762,6 @@ int mob_target(struct mob_data *md,struct block_list *bl,int dist) */ static int mob_ai_sub_hard_activesearch(struct block_list *bl,va_list ap) { - struct map_session_data *sd; struct mob_data *md; struct block_list **target; int dist; @@ -789,9 +788,6 @@ static int mob_ai_sub_hard_activesearch(struct block_list *bl,va_list ap) if (((TBL_PC*)bl)->state.gangsterparadise && !(status_get_mode(&md->bl)&MD_BOSS)) return 0; //Gangster paradise protection. - sd = (TBL_PC*)bl; //[orn] monster target homunculus while hunting - if (sd->hd && sd->homunculus.alive && (distance_bl(&md->bl, &sd->hd->bl ) < md->db->range2 ) ) // - return 0; //Gangster paradise protection. } case BL_HOMUNCULUS: //[orn] case BL_MOB: |