some "it" avoidance in killer names

<Someone> reported a couple cases where "it" could show up in killer names.
Chose his suggested fixes which result in short killer names.
This commit is contained in:
cohrs
2003-08-06 04:59:51 +00:00
parent 7dd569f3f1
commit eddeb5a727
3 changed files with 4 additions and 3 deletions

View 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

View 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)

View 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]) {