]> granicus.if.org Git - nethack/commitdiff
some "it" avoidance in killer names
authorcohrs <cohrs>
Wed, 6 Aug 2003 04:59:51 +0000 (04:59 +0000)
committercohrs <cohrs>
Wed, 6 Aug 2003 04:59:51 +0000 (04:59 +0000)
<Someone> reported a couple cases where "it" could show up in killer names.
Chose his suggested fixes which result in short killer names.

doc/fixes34.2
src/mhitu.c
src/steed.c

index ead0e57238b344f07e465bfce52b65b9dd56a18b..625b9c953ac0b4ad61b4f09ebd1598cd5c5284fa 100644 (file)
@@ -123,6 +123,7 @@ a fog cloud shouldn't pummel you with debris
 do not let an attached iron ball drag the hero through a location that the hero
        could not move normally
 hero's appearance should change immediately after mimicing completes
+avoid some uses of "it" in killer messages
 
 
 Platform- and/or Interface-Specific Fixes
index e310614f337f8d8d3e78c8b757f01513e9a76607..724bc36c73fed8c7ad19e2d8a1f94ee12b27438d 100644 (file)
@@ -1208,7 +1208,7 @@ dopois:
                            killer_format = KILLED_BY_AN;
                            Sprintf(buf, "%s by %s",
                                    moat ? "moat" : "pool of water",
-                                   a_monnam(mtmp));
+                                   an(mtmp->data->mname));
                            killer = buf;
                            done(DROWNING);
                        } else if(mattk->aatyp == AT_HUGS)
index aade17d5547c262e095282c766226064c6ad3d70..f09cb5da9af43a6fb7fe02651878df5dd90abd26 100644 (file)
@@ -84,8 +84,8 @@ use_saddle(otmp)
 
            You("touch %s.", mon_nam(mtmp));
            if (!(poly_when_stoned(youmonst.data) && polymon(PM_STONE_GOLEM))) {
-                       Sprintf(kbuf, "attempting to saddle %s", a_monnam(mtmp));
-                       instapetrify(kbuf);
+               Sprintf(kbuf, "attempting to saddle %s", an(mtmp->data->mname));
+               instapetrify(kbuf);
            }
        }
        if (ptr == &mons[PM_INCUBUS] || ptr == &mons[PM_SUCCUBUS]) {