diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-29 02:15:16 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-29 02:15:16 +0000 |
commit | 0677422c4fb0e1a9d86adb191cbd395a545b83da (patch) | |
tree | 5c493c22fda62eeb72ad4406e41315ab00c42762 /src/map/pc.c | |
parent | 0665a62b072746ac024cef92c199d2e3e609c381 (diff) | |
download | hercules-0677422c4fb0e1a9d86adb191cbd395a545b83da.tar.gz hercules-0677422c4fb0e1a9d86adb191cbd395a545b83da.tar.bz2 hercules-0677422c4fb0e1a9d86adb191cbd395a545b83da.tar.xz hercules-0677422c4fb0e1a9d86adb191cbd395a545b83da.zip |
[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
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]
|