summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-07 06:18:17 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-07 06:18:17 +0000
commita250899cbd3bd86d0958f6c9967c859e86da88c6 (patch)
tree0063688f78ca8c105fb36e5286b6fe1baca819a1 /src/map/pc.c
parent27fd5bb209c45a6e16465a659b4f8638fa967a3c (diff)
downloadhercules-a250899cbd3bd86d0958f6c9967c859e86da88c6.tar.gz
hercules-a250899cbd3bd86d0958f6c9967c859e86da88c6.tar.bz2
hercules-a250899cbd3bd86d0958f6c9967c859e86da88c6.tar.xz
hercules-a250899cbd3bd86d0958f6c9967c859e86da88c6.zip
updates
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@483 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 0c8c32b9a..3988b950d 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4606,7 +4606,8 @@ int pc_follow_timer(int tid,unsigned int tick,int id,int data)
struct map_session_data *sd, *bl;
sd=map_id2sd(id);
- if(sd == NULL || sd->followtimer != tid)
+
+ if(sd == NULL || sd->followtimer != tid || pc_isdead(sd))
return 0;
sd->followtimer=-1;