re-do the wounded legs fix

This commit is contained in:
nhmall
2021-10-24 21:41:49 -04:00
parent a7eca53f53
commit 27fcf8999f

View File

@@ -2893,9 +2893,10 @@ ustatusline(void)
if (Stunned)
Strcat(info, ", stunned");
if (!u.usteed && Wounded_legs) {
long legs = (EWounded_legs | HWounded_legs);
const char *what = body_part(LEG);
if (((EWounded_legs & BOTH_SIDES) == BOTH_SIDES) ||
((HWounded_legs & BOTH_SIDES) == BOTH_SIDES))
if ((legs & BOTH_SIDES) == BOTH_SIDES)
what = makeplural(what);
Sprintf(eos(info), ", injured %s", what);
}