summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/mob.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index fb6d34e29..66bf68555 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -946,10 +946,8 @@ static int mob_ai_sub_hard_slavemob(struct mob_data *md,unsigned int tick)
tbl = NULL;
}
if (tbl && status_check_skilluse(&md->bl, tbl, 0, 0)) {
- if(md->nd){
+ if(md->nd)
mob_script_callback(md, bl, CALLBACK_ASSIST);
- return 0;
- }
md->target_id=tbl->id;
md->min_chase=md->db->range3+distance_bl(&md->bl, tbl);
if(md->min_chase>MAX_MINCHASE)