grammar for graveyard sounds

For "the hair on the back of your neck stands up" or "the hair on
your head seems to stand up" make subject and verb agree when poly'd into
forms where "hair" is replaced by something explicitly plural like "scales"
or "cilia".
This commit is contained in:
nethack.rankin
2005-08-30 05:14:07 +00:00
parent dc1b1e1ce4
commit bbc825f9d9
2 changed files with 8 additions and 5 deletions

View File

@@ -139,6 +139,7 @@ regression, bug fixed in 3.4.1 reintroduced in 3.4.3: Sunsword continued to
weaken "farming" strategy
don't suppress corpse if you kill your own steed
fix typo in tourist quest leader's greeting
fix grammar for graveyard sounds when polymorphed
Platform- and/or Interface-Specific Fixes

View File

@@ -1,4 +1,4 @@
/* SCCS Id: @(#)sounds.c 3.5 2004/06/12 */
/* SCCS Id: @(#)sounds.c 3.5 2005/08/29 */
/* Copyright (c) 1989 Janet Walz, Mike Threepoint */
/* NetHack may be freely redistributed. See license for details. */
@@ -159,17 +159,19 @@ dosounds()
if (DEADMONSTER(mtmp)) continue;
if ((is_undead(mtmp->data) || is_vampshifter(mtmp)) &&
mon_in_room(mtmp, MORGUE)) {
const char *hair = body_part(HAIR); /* hair/fur/scales */
switch (rn2(2)+hallu) {
case 0:
You("suddenly realize it is unnaturally quiet.");
break;
case 1:
pline_The("%s on the back of your %s stands up.",
body_part(HAIR), body_part(NECK));
pline_The("%s on the back of your %s %s up.",
hair, body_part(NECK), vtense(hair, "stand"));
break;
case 2:
pline_The("%s on your %s seems to stand up.",
body_part(HAIR), body_part(HEAD));
pline_The("%s on your %s %s to stand up.",
hair, body_part(HEAD), vtense(hair, "seem"));
break;
}
return;