Use pline_mon instead of pline_xy

Forgot about this function. Whoops.
This commit is contained in:
Pasi Kallinen
2024-12-14 15:20:14 +02:00
parent 4f37795f96
commit 7fa38eb7b3
4 changed files with 16 additions and 20 deletions

View File

@@ -1026,7 +1026,7 @@ thrwmu(struct monst *mtmp)
if (canseemon(mtmp)) {
onm = xname(otmp);
pline_xy(mtmp->mx, mtmp->my, "%s %s %s.", Monnam(mtmp),
pline_mon(mtmp, "%s %s %s.", Monnam(mtmp),
/* "thrusts" or "swings", or "bashes with" if adjacent */
mswings_verb(otmp, (rang <= 2) ? TRUE : FALSE),
obj_is_pname(otmp) ? the(onm) : an(onm));