summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-27 17:13:39 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-27 17:13:39 +0000
commita51c01c18d3130d54dc3f032a22bbbf88ffdc8c1 (patch)
tree7b943b76de251460ff6ca273d93369feedc922ac /src/map/pc.c
parent7206810cc58a01e9d87a02920b0e6771c9864b8a (diff)
downloadhercules-a51c01c18d3130d54dc3f032a22bbbf88ffdc8c1.tar.gz
hercules-a51c01c18d3130d54dc3f032a22bbbf88ffdc8c1.tar.bz2
hercules-a51c01c18d3130d54dc3f032a22bbbf88ffdc8c1.tar.xz
hercules-a51c01c18d3130d54dc3f032a22bbbf88ffdc8c1.zip
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@823 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index f7837f838..fd84742c4 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3994,7 +3994,7 @@ int pc_setpos(struct map_session_data *sd,char *mapname_org,int x,int y,int clrt
// clif_spawnpc(sd);
//double connection bug fix by Valaris
- if(sd->alive_timer)
+ if(sd->alive_timer > 0)
delete_timer(sd->alive_timer,pc_alive_timer);
sd->alive_timer=add_timer(gettick()+60*1000,pc_alive_timer,sd->bl.id,0);