From 0677422c4fb0e1a9d86adb191cbd395a545b83da Mon Sep 17 00:00:00 2001 From: Lance Date: Mon, 29 May 2006 02:15:16 +0000 Subject: [Fix]: Ressurect instead of making you die again when logging in. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6811 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/pc.c b/src/map/pc.c index 8c65aa39b..ccd066c0c 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -797,7 +797,7 @@ int pc_reg_received(struct map_session_data *sd) if(sd->status.hp <= 0){ sd->status.hp = 0; - sd->vd.dead_sit = sd->state.dead_sit = 1; + pc_setrestartvalue(sd, 1); } //SG map and mob read [Komurka] -- cgit v1.2.3-70-g09d2