Browse Source

Fix hp not showing bug (#1680)

pull/876/head
qndel 7 years ago committed by Anders Jenbo
parent
commit
fa9ee2aa45
  1. 2
      Source/control.cpp

2
Source/control.cpp

@ -1051,7 +1051,7 @@ void UpdateLifeFlask()
int filled;
#ifdef HELLFIRE
if (plr[myplr]._pMaxHP > 0) {
if (plr[myplr]._pMaxHP <= 0) {
p = 0.0;
} else {
p = (double)plr[myplr]._pHitPoints / (double)plr[myplr]._pMaxHP * 80.0;

Loading…
Cancel
Save