Avoid map accessibility notices when map isn't updated
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user