From 0a71d2c918e2e3da758817f06f410c695d948687 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Tue, 11 Mar 2003 16:14:06 +0000 Subject: [PATCH] missing noun Below is the result of your feedback form. It was submitted by on Tuesday, March 11, 2003 at 07:48:17 --------------------------------------------------------------------------- mailversion: 1.17 nhversion: 3.4.1 nhfrom: Our 3.4.1 source release, unmodified hardware: i686 arch. software: Debian woody, gcc 2.95.4 comments: When polymorphing to eg. horned devil, and wearing a helmet, I get "Your pierce through your elven leather helm.". Likely there is a broken variable there. --- doc/fixes34.2 | 1 + src/polyself.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.2 b/doc/fixes34.2 index ad96b7dee..1ed2b2a6d 100644 --- a/doc/fixes34.2 +++ b/doc/fixes34.2 @@ -15,6 +15,7 @@ don't report "program initialization failed" if a panic occurs after the include statue contents in end of game inventory disclosure treat handlessness as a major problem when deciding prayer outcome perform artifact touch checks when putting on accessories +missing noun in message when horns pierce through your helmet Platform- and/or Interface-Specific Fixes diff --git a/src/polyself.c b/src/polyself.c index 71336ee09..90f682ebe 100644 --- a/src/polyself.c +++ b/src/polyself.c @@ -628,7 +628,7 @@ break_armor() /* Future possiblities: This could damage/destroy helmet */ Sprintf(hornbuf, "horn%s", plur(num_horns(youmonst.data))); - Your("%s through %s %s.", vtense(hornbuf, "pierce"), + Your("%s %s through %s %s.", hornbuf, vtense(hornbuf, "pierce"), shk_your(yourbuf, otmp), xname(otmp)); } else { if (donning(otmp)) cancel_don(); -- 2.40.0