Merge branch 'NetHack-3.6.2' part 2

This commit is contained in:
nhmall
2019-05-05 23:39:20 -04:00
parent db25fe56a8
commit 6f6f5586c5

View File

@@ -781,6 +781,7 @@ boolean *valsetlist;
* ought to force the windowport to treat current HP as changed
* if hitpointbar is On, in order for that to be re-rendered.
*/
if (g.update_all || chg || reset) {
idxmax = curr->idxmax;
pc = (idxmax >= 0) ? percentage(curr, &g.blstats[idx][idxmax]) : 0;