From 7dcaa4d54bbd559c6e8ec59ed73675fd1f5aece4 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sat, 23 Mar 2002 12:43:11 +0000 Subject: [PATCH] The spellbook fadefades. 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 | 1 + src/potion.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index cab66f961..c91de5547 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -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 diff --git a/src/potion.c b/src/potion.c index c18b80f9c..178008ee0 100644 --- a/src/potion.c +++ b/src/potion.c @@ -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)) {