Accessibility: give a message when teleporting a monster

Teleporting a monster only updated the map. Give a message
so blind players can get the same information.
Making a monster invisible gives the same message, if you
cannot detect invisible.
Several other places where monsters teleported themselves
now also give the same message.
This commit is contained in:
Pasi Kallinen
2021-12-07 00:06:17 +02:00
parent e25f8ec6e3
commit f6b7be49f4
27 changed files with 146 additions and 92 deletions

View File

@@ -123,7 +123,7 @@ mk_mplayer(struct permonst *ptr, xchar x, xchar y, boolean special)
return ((struct monst *) 0);
if (MON_AT(x, y))
(void) rloc(m_at(x, y), FALSE); /* insurance */
(void) rloc(m_at(x, y), RLOC_ERR|RLOC_NOMSG); /* insurance */
if (!In_endgame(&u.uz))
special = FALSE;