summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index a0d8fe17e..f021b9e98 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4446,7 +4446,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src)
sd->pet.intimate = 0;
clif_send_petdata(sd,1,sd->pet.intimate);
if(sd->pd->target_id){ // Unlock all targets...
- unit_unattackable(&sd->pd->bl);
+ unit_stop_attack(&sd->pd->bl);
sd->pd->target_id = 0;
}
}