Accessibility: more message locations
Add a new pline_mon() which sets the message location to the monster location. Add locations to several trap messages.
This commit is contained in:
@@ -1927,8 +1927,8 @@ use_offensive(struct monst *mtmp)
|
||||
*/
|
||||
if (cansee(mtmp->mx, mtmp->my)) {
|
||||
otmp->dknown = 1;
|
||||
pline_xy(mtmp->mx, mtmp->my,
|
||||
"%s hurls %s!", Monnam(mtmp), singular(otmp, doname));
|
||||
pline_mon(mtmp, "%s hurls %s!",
|
||||
Monnam(mtmp), singular(otmp, doname));
|
||||
}
|
||||
m_throw(mtmp, mtmp->mx, mtmp->my, sgn(mtmp->mux - mtmp->mx),
|
||||
sgn(mtmp->muy - mtmp->my),
|
||||
|
||||
Reference in New Issue
Block a user