]> granicus.if.org Git - nethack/commitdiff
The spellbook fadefades.
authornethack.allison <nethack.allison>
Sat, 23 Mar 2002 12:43:11 +0000 (12:43 +0000)
committernethack.allison <nethack.allison>
Sat, 23 Mar 2002 12:43:11 +0000 (12:43 +0000)
<email deleted>
<email deleted>
Sent: Saturday, March 23, 2002 6:01 AM
Subject: Bug in 3.4.0: spellbook fading

> Dip a spellbook in a fountain:
> "The spellbook fadefades."
>
> In get_wet (potion.c), otense is used, which returns "fades",
> redundantly, as a suffix to "fade".

doc/fixes34.1
src/potion.c

index cab66f9616f377f4294d377e567e08176c9c8833..c91de554706bffe59a93faa5dde2a692be7b2d81 100644 (file)
@@ -10,6 +10,7 @@ add wishing for "nothing" and genociding "none" to the conduct section
        of the Guidebook
 allow both wishing and genocide to accept either "none" or "nothing" when
        the player wants to decline
+left word in format string in get_wet() causing "The spellbook fadefades"
 
 
 Platform- and/or Interface-Specific Fixes
index c18b80f9c07bea5f0285fccab505563a1cd7074b..178008ee06d2150352d36ba5372571276267e893 100644 (file)
@@ -1,4 +1,4 @@
-/*     SCCS Id: @(#)potion.c   3.4     2002/03/05      */
+/*     SCCS Id: @(#)potion.c   3.4     2002/03/23      */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /* NetHack may be freely redistributed.  See license for details. */
 
@@ -1480,7 +1480,7 @@ register struct obj *obj;
                        } else {
                            if (!Blind) {
                                    boolean oq1 = obj->quan == 1L;
-                                   pline_The("spellbook%s fade%s.",
+                                   pline_The("spellbook%s %s.",
                                        oq1 ? "" : "s", otense(obj, "fade"));
                            }
                            if(obj->unpaid && costly_spot(u.ux, u.uy)) {