From 47243ba860ffb3e90a9bcce1ba1d3b9d03a317fe Mon Sep 17 00:00:00 2001 From: PatR Date: Tue, 7 Dec 2021 03:10:57 -0800 Subject: [PATCH] long worm growth I think this is what was originally intended. --- src/worm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/worm.c b/src/worm.c index 625c8ec7b..7455a1411 100644 --- a/src/worm.c +++ b/src/worm.c @@ -257,8 +257,8 @@ worm_move(struct monst *worm) /* can't exceed segment-derived limit unless level increase after peak tail growth has already done so; when that isn't the case, if segment growth exceeds current max HP then increase it */ - if (worm->mhp > whpcap) - worm->mhp = whpcap; + if (worm->mhp > whplimit) + worm->mhp = whplimit; if (worm->mhp > worm->mhpmax) worm->mhpmax = worm->mhp; } else {