probably fix #K4269 - sanity failure for u.mh \

being greater than u.mhmax

I think this will fix the situation where current HP as a monster
was greater than maximum HP as a monster, triggering a sanity_check
failure.  No promises though.

[poisoned() needs some missing Upolyd handling.]
This commit is contained in:
PatR
2024-09-24 13:59:28 -07:00
parent 6e32407e12
commit a3f176c9dc
3 changed files with 47 additions and 23 deletions

View File

@@ -203,6 +203,7 @@ extern void adjabil(int, int);
extern int newhp(void);
extern int minuhpmax(int);
extern void setuhpmax(int);
extern int adjuhploss(int, int);
extern schar acurr(int);
extern schar acurrstr(void);
extern boolean extremeattr(int);