Message location for monster hurling a potion

This commit is contained in:
Pasi Kallinen
2024-01-14 17:21:48 +02:00
parent bbb7523a04
commit 679c312d4d
+2 -1
View File
@@ -1920,7 +1920,8 @@ use_offensive(struct monst *mtmp)
*/ */
if (cansee(mtmp->mx, mtmp->my)) { if (cansee(mtmp->mx, mtmp->my)) {
otmp->dknown = 1; otmp->dknown = 1;
pline("%s hurls %s!", Monnam(mtmp), singular(otmp, doname)); pline_xy(mtmp->mx, mtmp->my,
"%s hurls %s!", Monnam(mtmp), singular(otmp, doname));
} }
m_throw(mtmp, mtmp->mx, mtmp->my, sgn(mtmp->mux - mtmp->mx), m_throw(mtmp, mtmp->mx, mtmp->my, sgn(mtmp->mux - mtmp->mx),
sgn(mtmp->muy - mtmp->my), sgn(mtmp->muy - mtmp->my),