diff --git a/src/map/pc.c b/src/map/pc.c index c379e64609..dbb361ef30 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4918,7 +4918,9 @@ void pc_respawn(struct map_session_data* sd, uint8 clrtype) static int pc_respawn_timer(int tid,unsigned int tick,int id,int data) { struct map_session_data *sd = map_id2sd(id); - pc_respawn(sd,0); + if( sd != NULL) + pc_respawn(sd,0); + return 0; }