Avoid map accessibility notices when map isn't updated

This commit is contained in:
Pasi Kallinen
2025-04-16 18:08:33 +03:00
parent 01e031e639
commit 86bfb3e2f9

View File

@@ -1998,8 +1998,9 @@ show_glyph(coordxy x, coordxy y, int glyph)
oldglyph = gg.gbuf[y][x].glyphinfo.glyph;
if (a11y.glyph_updates && !a11y.mon_notices_blocked
&& !program_state.in_docrt
&& !program_state.in_getlev
&& !program_state.in_docrt && !program_state.gameover
&& !program_state.in_getlev && !program_state.stopprint
&& !_suppress_map_output()
&& (oldglyph != glyph || gg.gbuf[y][x].gnew)) {
int c = glyph_to_cmap(glyph);