diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-30 13:22:26 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-30 13:22:26 +0000 |
commit | 483b0686a151cba2e809e584f565a2d4a71b87f0 (patch) | |
tree | cfc4c9214629be786a5f1bbf0e660254d42c0438 /src | |
parent | c3bbe16c177566dec7e044c5765533986b4cfdb5 (diff) | |
download | hercules-483b0686a151cba2e809e584f565a2d4a71b87f0.tar.gz hercules-483b0686a151cba2e809e584f565a2d4a71b87f0.tar.bz2 hercules-483b0686a151cba2e809e584f565a2d4a71b87f0.tar.xz hercules-483b0686a151cba2e809e584f565a2d4a71b87f0.zip |
Final alteration :P
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6844 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/pc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 0918a0406..519e20d77 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4447,10 +4447,8 @@ 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_stop_attack(&sd->pd->bl);
- sd->pd->target_id = 0;
- }
+ if(sd->pd->target_id) // Unlock all targets...
+ pet_unlocktarget(&sd->pd);
}
// Leave duel if you die [LuzZza]
|