]> granicus.if.org Git - nethack/commitdiff
two grammar bits
authornethack.rankin <nethack.rankin>
Sat, 16 Oct 2004 01:07:46 +0000 (01:07 +0000)
committernethack.rankin <nethack.rankin>
Sat, 16 Oct 2004 01:07:46 +0000 (01:07 +0000)
     Fix the two minor grammar problems for messages given when eating
that were From a bug report:  inappropriate or inconsistent
capitalization in mid sentence for
        Ulch - That <object> was rustproofed!
and missing punctuation for the appended clause for cannibalism in
        Ulch - that meat was tainted cannibal!

doc/fixes34.4
src/eat.c

index b5f5ee46fc4af37381dd569ed9c56140a49b1cf5..ace4cfb2512cac9109e9325f8894105715bde921 100644 (file)
@@ -55,6 +55,7 @@ eliminate two very minor anomalies when using Luck to adjust random numbers
 destroying a worn item via dipping in burning oil would not unwear/unwield
        the item properly, possibly leading to various strange behaviors
 avoid a panic splitbill when shopkeeper is trapped by the door
+grammar tidbit for message given when eating tainted meat is also cannibalism
 
 
 Platform- and/or Interface-Specific Fixes
index cb4339517546db98721333636c2afe4e9fbfd077..879733828819ac00cb58ac6dea819784b9bdb8f6 100644 (file)
--- a/src/eat.c
+++ b/src/eat.c
@@ -1,4 +1,4 @@
-/*     SCCS Id: @(#)eat.c      3.4     2003/02/13      */
+/*     SCCS Id: @(#)eat.c      3.4     2004/10/15      */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /* NetHack may be freely redistributed.  See license for details. */
 
@@ -1307,7 +1307,7 @@ eatcorpse(otmp)           /* called when a corpse is selected as food */
                pline("Ulch - that %s was tainted%s!",
                      mons[mnum].mlet == S_FUNGUS ? "fungoid vegetation" :
                      !vegetarian(&mons[mnum]) ? "meat" : "protoplasm",
-                     cannibal ? " cannibal" : "");
+                     cannibal ? ", you cannibal" : "");
                if (Sick_resistance) {
                        pline("It doesn't seem at all sickening, though...");
                } else {
@@ -1966,7 +1966,7 @@ doeat()           /* generic "eat" command funtion (see cmd.c) */
                    else
                        otmp = splitobj(otmp, 1L);
                }
-               pline("Ulch - That %s was rustproofed!", xname(otmp));
+               pline("Ulch - that %s was rustproofed!", xname(otmp));
                /* The regurgitated object's rustproofing is gone now */
                otmp->oerodeproof = 0;
                make_stunned(HStun + rn2(10), TRUE);