summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-30 13:15:18 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-30 13:15:18 +0000
commit48f0f0ae1aa04baa1743e5ca8040e02729c67320 (patch)
tree7273695c941bdd611c0b2781a89b6ab378dafb71
parentdb0f3228b73597f9c1d6f2cd661a09621d9b48c3 (diff)
downloadhercules-48f0f0ae1aa04baa1743e5ca8040e02729c67320.tar.gz
hercules-48f0f0ae1aa04baa1743e5ca8040e02729c67320.tar.bz2
hercules-48f0f0ae1aa04baa1743e5ca8040e02729c67320.tar.xz
hercules-48f0f0ae1aa04baa1743e5ca8040e02729c67320.zip
[Fixed]:
pc.c to use unit_stop_attack() git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6842 54d463be-8e91-2dee-dedb-b68131a5f0ec
-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;
}
}