From: Pasi Kallinen Date: Fri, 10 Apr 2015 19:43:13 +0000 (+0300) Subject: Fix magic mapped dark room symbols X-Git-Tag: NetHack-3.6.0_RC01~414^2~41^2~8^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04dd85e13858e6d104f4cc87f0e2f29041fb6656;p=nethack Fix magic mapped dark room symbols --- diff --git a/src/display.c b/src/display.c index 75af16442..1369fbfb3 100644 --- a/src/display.c +++ b/src/display.c @@ -160,7 +160,7 @@ magic_map_background(x, y, show) if (!cansee(x,y) && !lev->waslit) { /* Floor spaces are dark if unlit. Corridors are dark if unlit. */ if (lev->typ == ROOM && glyph == cmap_to_glyph(S_room)) - glyph = cmap_to_glyph(S_stone); + glyph = cmap_to_glyph((flags.dark_room && iflags.use_color) ? (DARKROOMSYM) : S_stone); else if (lev->typ == CORR && glyph == cmap_to_glyph(S_litcorr)) glyph = cmap_to_glyph(S_corr); }