diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-02 17:06:40 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-02 17:06:40 +0000 |
commit | 6d695639b4e40a5739f5d8fa45b48a54a8523431 (patch) | |
tree | fc6e589b58698e61f7f61e3c02b76dc9b22bd72f /src/map/clif.c | |
parent | 0073a0c0267b57250645bf3e0ed5a7ac4aa7463b (diff) | |
download | hercules-6d695639b4e40a5739f5d8fa45b48a54a8523431.tar.gz hercules-6d695639b4e40a5739f5d8fa45b48a54a8523431.tar.bz2 hercules-6d695639b4e40a5739f5d8fa45b48a54a8523431.tar.xz hercules-6d695639b4e40a5739f5d8fa45b48a54a8523431.zip |
- Modified Weapon Refine - should only +1 every time.
- Updated Berserk, Chase Walk, Slim Pitcher
- Added skill_range_leniency
* Added check for clif.c in case the server didn't realise we've died
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@433 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 50de1e108..34ee7aaea 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -7947,6 +7947,9 @@ void clif_parse_Restart(int fd, struct map_session_data *sd) { pc_setrestartvalue(sd, 3); pc_setpos(sd, sd->status.save_point.map, sd->status.save_point.x, sd->status.save_point.y, 2); } + // in case the player's status somehow wasn't updated yet [Celest] + else if (sd->status.hp <= 0) + pc_setdead(sd); break; case 0x01: if(!pc_isdead(sd) && (sd->opt1 || (sd->opt2 && !(night_flag == 1 && sd->opt2 == STATE_BLIND)))) |