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

@@ -5846,7 +5846,7 @@ shieldeff_mon(struct monst *mtmp)
shieldeff(mtmp->mx, mtmp->my);
/* does not depend on seeing the monster; the shield effect is visible */
if (cansee(mtmp->mx, mtmp->my))
pline_xy(mtmp->mx, mtmp->my, "%s resists!", Monnam(mtmp));
pline_mon(mtmp, "%s resists!", Monnam(mtmp));
}
/*mon.c*/