From: cohrs Date: Thu, 19 Dec 2002 02:09:35 +0000 (+0000) Subject: B15004 - Master Assassin's attack X-Git-Tag: MOVE2GIT~2290 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8c71641628cea21ccf3b0b76d5a9a0895c936d7;p=nethack B15004 - Master Assassin's attack hitmu was trying, and failing, to re-implement parts of x_monnam(). Changed it to use Monnam(), which produces more detailed messages than before in some cases, but seems better since its messages are now more consistent with hitmsg() and prints "The" in this specific case. --- diff --git a/src/mhitu.c b/src/mhitu.c index 489114835..4eafbe9ab 100644 --- a/src/mhitu.c +++ b/src/mhitu.c @@ -988,12 +988,9 @@ hitmu(mtmp, mattk) dopois: hitmsg(mtmp, mattk); if (uncancelled && !rn2(8)) { - Sprintf(buf, "%s %s", - !canspotmon(mtmp) ? "Its" : - Hallucination ? s_suffix(rndmonnam()) : - s_suffix(mdat->mname), - mpoisons_subj(mtmp, mattk)); - poisoned(buf, ptmp, mdat->mname, 30); + Sprintf(buf, "%s %s", + s_suffix(Monnam(mtmp)), mpoisons_subj(mtmp, mattk)); + poisoned(buf, ptmp, mdat->mname, 30); } break; case AD_DRIN: