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
+1
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 do not let an attached iron ball drag the hero through a location that the hero
could not move normally could not move normally
hero's appearance should change immediately after mimicing completes hero's appearance should change immediately after mimicing completes
avoid some uses of "it" in killer messages
Platform- and/or Interface-Specific Fixes Platform- and/or Interface-Specific Fixes
+1 -1
View File
@@ -1208,7 +1208,7 @@ dopois:
killer_format = KILLED_BY_AN; killer_format = KILLED_BY_AN;
Sprintf(buf, "%s by %s", Sprintf(buf, "%s by %s",
moat ? "moat" : "pool of water", moat ? "moat" : "pool of water",
a_monnam(mtmp)); an(mtmp->data->mname));
killer = buf; killer = buf;
done(DROWNING); done(DROWNING);
} else if(mattk->aatyp == AT_HUGS) } else if(mattk->aatyp == AT_HUGS)
+2 -2
View File
@@ -84,8 +84,8 @@ use_saddle(otmp)
You("touch %s.", mon_nam(mtmp)); You("touch %s.", mon_nam(mtmp));
if (!(poly_when_stoned(youmonst.data) && polymon(PM_STONE_GOLEM))) { if (!(poly_when_stoned(youmonst.data) && polymon(PM_STONE_GOLEM))) {
Sprintf(kbuf, "attempting to saddle %s", a_monnam(mtmp)); Sprintf(kbuf, "attempting to saddle %s", an(mtmp->data->mname));
instapetrify(kbuf); instapetrify(kbuf);
} }
} }
if (ptr == &mons[PM_INCUBUS] || ptr == &mons[PM_SUCCUBUS]) { if (ptr == &mons[PM_INCUBUS] || ptr == &mons[PM_SUCCUBUS]) {