Noticed while testing a patch for touching cockatrice corpses;
corpse_xname(,, CXN_ARTICLE) would produce "a cockatrice corpses" when the
object stack quantity was greater than 1. (This applies to the post-3.4.3
expansion of corpse_xname() in the trunk code, so no fixes entry.)
if (!omit_corpse) {
Strcat(nambuf, " corpse");
/* makeplural(nambuf) => append "s" to "corpse" */
- if (otmp->quan > 1L && !ignore_quan) Strcat(nambuf, "s");
+ if (otmp->quan > 1L && !ignore_quan) {
+ Strcat(nambuf, "s");
+ any_prefix = FALSE; /* avoid "a newt corpses" */
+ }
}
/* it's safe to overwrite our nambuf after an() has copied