pc.c to use unit_stop_attack()

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6842 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Lance 2006-05-30 13:15:18 +00:00
parent 21a6d3fad7
commit 94b0820fda

View File

@ -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;
}
}