]> granicus.if.org Git - nethack/commitdiff
grammar tidbit
authornethack.rankin <nethack.rankin>
Fri, 19 Apr 2002 05:50:02 +0000 (05:50 +0000)
committernethack.rankin <nethack.rankin>
Fri, 19 Apr 2002 05:50:02 +0000 (05:50 +0000)
     From the newsgroup:  if the Candelabrum of Invocation already
has six candles attached and you apply another one to add the seventh,
the message said it "now has seven candle attached."

doc/fixes34.1
src/apply.c

index ad5647b65f439bd8902b8edd0094c79a01af033d..ae3bf2e25feede4226eee8d537031fb96ab03ff4 100644 (file)
@@ -84,6 +84,8 @@ chance to aim grappling hook when skilled or better
 level limit of monsters like naga hatchlings should be high enough to grow up
 scroll of enchant weapon will become discovered when read in some cases
 don't crash when using lookat on a boulder an BOULDER sym is unique
+attaching a single candle to fill candelabrum's last slot gave message with
+       poor grammar: "The candelabrum now has seven candle attached."
 
 
 Platform- and/or Interface-Specific Fixes
index 2a1e8495876397045b21d1605886559d1bbd63c1..303de73070a7c75f354f85a3dca23a2e85815617 100644 (file)
@@ -1,4 +1,4 @@
-/*     SCCS Id: @(#)apply.c    3.4     2002/03/09      */
+/*     SCCS Id: @(#)apply.c    3.4     2002/04/18      */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /* NetHack may be freely redistributed.  See license for details. */
 
@@ -971,8 +971,8 @@ register struct obj *obj;
                              (obj->quan > 1L) ? "them" : "it",
                              (obj->quan > 1L) ? "them" : "it");
                if (obj->quan < 7L && otmp->spe == 7)
-                   pline("%s now has seven%s %s attached.",
-                         The(xname(otmp)), otmp->lamplit ? " lit" : "", s);
+                   pline("%s now has seven%s candles attached.",
+                         The(xname(otmp)), otmp->lamplit ? " lit" : "");
                /* candelabrum's light range might increase */
                if (otmp->lamplit) obj_merge_light_sources(otmp, otmp);
                /* candles are no longer a separate light source */