summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 0ad272d1d..5c839385b 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5516,6 +5516,7 @@ int pc_stop_following (struct map_session_data *sd)
sd->followtimer = INVALID_TIMER;
}
sd->followtarget = -1;
+ sd->ud.target_to = 0;
return 0;
}