|
@@ -9319,6 +9319,10 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
|
|
|
else
|
|
|
sd->areanpc_id = 0;
|
|
|
|
|
|
+ /* it broke at some point (e.g. during a crash), so we make it visibly dead again. */
|
|
|
+ if( !sd->status.hp && !pc_isdead(sd) && status_isdead(&sd->bl) )
|
|
|
+ pc_setdead(sd);
|
|
|
+
|
|
|
// If player is dead, and is spawned (such as @refresh) send death packet. [Valaris]
|
|
|
if(pc_isdead(sd))
|
|
|
clif_clearunit_area(&sd->bl, CLR_DEAD);
|