]> granicus.if.org Git - nethack/commitdiff
tame hidden monster message
authornethack.allison <nethack.allison>
Fri, 24 Feb 2006 02:54:58 +0000 (02:54 +0000)
committernethack.allison <nethack.allison>
Fri, 24 Feb 2006 02:54:58 +0000 (02:54 +0000)
<email deleted> wrote:
> * Searching next to a tame hidden monster gives the message "You find a
> <kraken>." It should be "your <kraken>."

While I don't consider this a bug, the change seems appropriate.

doc/fixes34.4
src/detect.c

index a17af1b4e2308c34b49d4bb6952b92d113da6d66..ae47cf1980ead0ed98673dd95096cf0241621957 100644 (file)
@@ -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
index c5acc0cb3e85180e38576b0d0b41acefd82f57c6..fb5c65932fcf1fc2ac0320015fd2dd15cc89c646 100644 (file)
@@ -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)) {