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.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);