]> granicus.if.org Git - nethack/commitdiff
grammar for graveyard sounds
authornethack.rankin <nethack.rankin>
Tue, 30 Aug 2005 05:14:07 +0000 (05:14 +0000)
committernethack.rankin <nethack.rankin>
Tue, 30 Aug 2005 05:14:07 +0000 (05:14 +0000)
     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
src/sounds.c

index 04ff057fe5c3d7be41345b6f309cda8b9a4e6e00..6531f21bdc7ac992de7a65f8d72f50c72a128018 100644 (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
index da555808ba72b4f4583e0c98c7f51edf7d57b864..4b29bcd6f26de05118f3d6f5652db3aeb2479c64 100644 (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;