From bbc825f9d978da6b7c6aac62f7fe9862fba43dbc Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Tue, 30 Aug 2005 05:14:07 +0000 Subject: [PATCH] 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". --- doc/fixes34.4 | 1 + src/sounds.c | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 04ff057fe..6531f21bd 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -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 diff --git a/src/sounds.c b/src/sounds.c index da555808b..4b29bcd6f 100644 --- a/src/sounds.c +++ b/src/sounds.c @@ -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; -- 2.50.1