summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-16 15:11:39 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-16 15:11:39 +0000
commit1c77fae514c9a0c9971de96830d3450b48a6cdc7 (patch)
treee26223199e5ee5ccf344854e6952b2752867973d
parent0c61721e7c9cfe8dfb11349ddbae529c5629bacc (diff)
downloadhercules-1c77fae514c9a0c9971de96830d3450b48a6cdc7.tar.gz
hercules-1c77fae514c9a0c9971de96830d3450b48a6cdc7.tar.bz2
hercules-1c77fae514c9a0c9971de96830d3450b48a6cdc7.tar.xz
hercules-1c77fae514c9a0c9971de96830d3450b48a6cdc7.zip
- Removed return from CALLBACK_ASSIST
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7205 54d463be-8e91-2dee-dedb-b68131a5f0ec
-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)