Follow up to 8ca20d1
* Revert code this wrong
This commit is contained in:
parent
8ca20d184f
commit
ec9c2b21c8
@ -3135,10 +3135,7 @@ void clif_updatestatus(struct map_session_data *sd,int type)
|
|||||||
break;
|
break;
|
||||||
case SP_HP:
|
case SP_HP:
|
||||||
// On officials the HP never go below 1, even if you die [Lemongrass]
|
// On officials the HP never go below 1, even if you die [Lemongrass]
|
||||||
if( (sd->class_&MAPID_UPPERMASK) != MAPID_NOVICE )
|
WFIFOL(fd,4)=max(1,sd->battle_status.hp);
|
||||||
WFIFOL(fd,4)=max(1,sd->battle_status.hp);
|
|
||||||
else
|
|
||||||
WFIFOL(fd,4)=max((sd->battle_status.max_hp/2),sd->battle_status.hp);
|
|
||||||
|
|
||||||
// TODO: Won't these overwrite the current packet?
|
// TODO: Won't these overwrite the current packet?
|
||||||
if( map[sd->bl.m].hpmeter_visible )
|
if( map[sd->bl.m].hpmeter_visible )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user