Change monster regeneration over time to use healmon(), too

I missed this one.
This commit is contained in:
Alex Smith
2025-01-12 18:28:59 +00:00
parent 97e0e934e8
commit a8be021913

View File

@@ -295,9 +295,8 @@ onscary(coordxy x, coordxy y, struct monst *mtmp)
void
mon_regen(struct monst *mon, boolean digest_meal)
{
if (mon->mhp < mon->mhpmax
&& (svm.moves % 20 == 0 || regenerates(mon->data)))
mon->mhp++;
if (svm.moves % 20 == 0 || regenerates(mon->data))
healmon(mon, 1, 0);
if (mon->mspec_used)
mon->mspec_used--;
if (digest_meal) {