summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
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;
}