From: nethack.allison Date: Fri, 24 Feb 2006 02:54:58 +0000 (+0000) Subject: tame hidden monster message X-Git-Tag: MOVE2GIT~1105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a732a87ee2b52a508fb2ed7168c2fed755c859cd;p=nethack tame hidden monster message wrote: > * Searching next to a tame hidden monster gives the message "You find a > ." It should be "your ." While I don't consider this a bug, the change seems appropriate. --- diff --git a/doc/fixes34.4 b/doc/fixes34.4 index a17af1b4e..ae47cf198 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -196,6 +196,8 @@ you no longer "fry to a crisp" as a water elemental change leather spellbook to leathery; pertains to appearance, not composition more precise probing/stethoscope feedback when engulfed make baby long worms have lower level than full grown ones +use "your kraken" instead of "a kraken" when searching reveals a tame + hidden monster Platform- and/or Interface-Specific Fixes diff --git a/src/detect.c b/src/detect.c index c5acc0cb3..fb5c65932 100644 --- a/src/detect.c +++ b/src/detect.c @@ -1282,7 +1282,9 @@ register int aflag; map_invisible(x, y); } } else if (!sensemon(mtmp)) - You("find %s.", a_monnam(mtmp)); + You("find %s.", mtmp->mtame ? + y_monnam(mtmp) : + a_monnam(mtmp)); return(1); } if(!canspotmon(mtmp)) {