relocate reset_glyphmap() call to more appropriate location
valley and mines unaligned altars are included in the level-specfic
colorization
enum altar_colors {
altar_color_unaligned = CLR_RED,
-#if 0
+#if defined(USE_GENERAL_ALTAR_COLORS)
/* On OSX with TERM=xterm-color256 these render as
* white -> tty: gray, curses: ok
* gray -> both tty and curses: black
if (Is_rogue_level(&u.uz)) {
g.glyphmap_perlevel_flags |= GMAP_ROGUELEVEL;
- } else if ((Is_astralevel(&u.uz) || Is_sanctum(&u.uz))) {
+ } else if (Is_astralevel(&u.uz)
+ || Is_sanctum(&u.uz)
+ || In_mines(&u.uz)
+ || Is_valley(&u.uz)) {
g.glyphmap_perlevel_flags |= GMAP_ALTARCOLOR;
}
}
if (Is_rogue_level(newlevel) || Is_rogue_level(&u.uz))
assign_graphics(Is_rogue_level(newlevel) ? ROGUESET : PRIMARY);
- reset_glyphmap(gm_levelchange);
check_gold_symbol();
/* record this level transition as a potential seen branch unless using
* some non-standard means of transportation (level teleport).
/* Reset the screen. */
vision_reset(); /* reset the blockages */
g.glyphmap_perlevel_flags = 0L; /* force per-level map_glyphinfo() changes */
- docrt(); /* does a full vision recalc */
+ reset_glyphmap(gm_levelchange);
+ docrt(); /* does a full vision recalc */
flush_screen(-1);
/*