wounded legs check in insight.c

close #620
This commit is contained in:
nhmall
2021-10-24 21:34:05 -04:00
parent 1d405c511d
commit a7eca53f53

View File

@@ -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);
}