long worm growth

I think this is what was originally intended.
This commit is contained in:
PatR
2021-12-07 03:10:57 -08:00
parent ec58e917f3
commit 47243ba860
+2 -2
View File
@@ -257,8 +257,8 @@ worm_move(struct monst *worm)
/* can't exceed segment-derived limit unless level increase after /* can't exceed segment-derived limit unless level increase after
peak tail growth has already done so; when that isn't the case, peak tail growth has already done so; when that isn't the case,
if segment growth exceeds current max HP then increase it */ if segment growth exceeds current max HP then increase it */
if (worm->mhp > whpcap) if (worm->mhp > whplimit)
worm->mhp = whpcap; worm->mhp = whplimit;
if (worm->mhp > worm->mhpmax) if (worm->mhp > worm->mhpmax)
worm->mhpmax = worm->mhp; worm->mhpmax = worm->mhp;
} else { } else {