another wall of lava fix

Use inverse video for wall of lava if color is disabled, same as is
done for ordinary lava.  The two won't have any visible distinction
from each other but at least wall of lava won't look like water.
This commit is contained in:
PatR
2023-09-10 14:25:41 -07:00
parent ef296e7ad9
commit 9016d65df4

View File

@@ -2733,7 +2733,7 @@ reset_glyphmap(enum glyphmap_change_triggers trigger)
if (!iflags.use_color) {
/* try to provide a visible difference between water and lava
if they use the same symbol and color is disabled */
if (cmap == S_lava
if ((cmap == S_lava || cmap == S_lavawall)
&& (gs.showsyms[gmap->sym.symidx]
== gs.showsyms[S_pool + SYM_OFF_P]
|| gs.showsyms[gmap->sym.symidx]