From: nethack.allison Date: Thu, 9 Dec 2004 15:47:45 +0000 (+0000) Subject: upper case correction X-Git-Tag: MOVE2GIT~1395 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10b227e242452654a337ece51ce61be338cc16dc;p=nethack upper case correction Fix for first issue reported in this bug report: Sent: Thursday, December 09, 2004 7:13 AM Subject: Two wrong messages I would like to report two cosmetic issues: 1. "its gaze is reflected by the invisible [pet]'s shield." Wrong capitalization. 2. The message given when decapicating an ettin {,zombie} with the Vorpal Blade fails to mention the second head. This could be pretty tricky to fix, but, per 's suggestion, the easiest explanation would be to say that the blade's wielder cuts off both heads at once. The patch would look similar to: *dmgptr = 2 * mdef->mhp + FATAL_DAMAGE_MODIFIER; > if(mdef->data==&mons[PM_ETTIN] > ||mdef->data==&mons[PM_ETTIN_ZOMBIE) > pline("%s goes through both necks of %s at once like butter!", > wepdesc, mon_nam(mdef)); > else pline(behead_msg[rn2(SIZE(behead_msg))], wepdesc, mon_nam(mdef)); otmp->dknown = TRUE; (and the same for youdefend) --- diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 0301c7808..77a962711 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -71,6 +71,7 @@ avoid "your steed is still eating" message when going through a magic portal cannot drink from fountain, sink or surrounding water while swallowed don't hallucinate anything for an exploding black light as it dies give blindness feedback when moving into/through stinking cloud +fix case on monster name when monster reflects floating eye's gaze Platform- and/or Interface-Specific Fixes diff --git a/src/mhitm.c b/src/mhitm.c index f085ef00e..04f33cd45 100644 --- a/src/mhitm.c +++ b/src/mhitm.c @@ -1411,7 +1411,7 @@ int mdead; if (magr->mcansee && haseyes(madat) && mdef->mcansee && (perceives(madat) || !mdef->minvis)) { Sprintf(buf, "%s gaze is reflected by %%s %%s.", - s_suffix(mon_nam(mdef))); + s_suffix(Monnam(mdef))); if (mon_reflects(magr, canseemon(magr) ? buf : (char *)0)) return(mdead|mhit);