From: nhmall Date: Mon, 25 Oct 2021 01:34:05 +0000 (-0400) Subject: wounded legs check in insight.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7eca53f5327bcb6d1612a15230cd986a00709e5;p=nethack wounded legs check in insight.c close #620 --- diff --git a/src/insight.c b/src/insight.c index 2bfd58e05..4b39ea955 100644 --- a/src/insight.c +++ b/src/insight.c @@ -2894,7 +2894,8 @@ ustatusline(void) Strcat(info, ", stunned"); if (!u.usteed && Wounded_legs) { const char *what = body_part(LEG); - if ((Wounded_legs & BOTH_SIDES) == BOTH_SIDES) + if (((EWounded_legs & BOTH_SIDES) == BOTH_SIDES) || + ((HWounded_legs & BOTH_SIDES) == BOTH_SIDES)) what = makeplural(what); Sprintf(eos(info), ", injured %s", what); }