summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-11 00:27:15 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-11 00:27:15 +0000
commit4fec7fb11ff316e837be25e07ae427d8aa7df460 (patch)
tree632fb4dd7e49d7ff2fa3ff78f45010e6db02a598 /src/map/pet.c
parent7961554a72e475cd71bd34f65bb548c1b13dc685 (diff)
downloadhercules-4fec7fb11ff316e837be25e07ae427d8aa7df460.tar.gz
hercules-4fec7fb11ff316e837be25e07ae427d8aa7df460.tar.bz2
hercules-4fec7fb11ff316e837be25e07ae427d8aa7df460.tar.xz
hercules-4fec7fb11ff316e837be25e07ae427d8aa7df460.zip
- Fixes to the unit_data update that lets characters auto-chase while attacking.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5980 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pet.c')
-rw-r--r--src/map/pet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 4904d1c45..6f7819f7a 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -123,6 +123,7 @@ int pet_unlocktarget(struct pet_data *pd)
pd->target_id=0;
pet_stop_attack(pd);
+ pd->ud.attacktarget = pd->ud.walktarget = 0;
return 0;
}