]> granicus.if.org Git - nethack/commitdiff
Fix dark room glyphs on level re-entry
authorPasi Kallinen <paxed@alt.org>
Mon, 25 May 2015 07:02:09 +0000 (10:02 +0300)
committerPasi Kallinen <paxed@alt.org>
Mon, 25 May 2015 07:02:09 +0000 (10:02 +0300)
include/extern.h
src/do.c

index 8beca1ee7ac21de54e8e99c30adfa4a3c557c6a7..75272c20530b7c0c2fcae24ab7ae01a7d52373fc 100644 (file)
@@ -1607,6 +1607,7 @@ E char *FDECL(safe_qbuf, (char *, const char *, const char *, struct obj *,
 
 /* ### options.c ### */
 
+E void NDECL(reglyph_darkroom);
 E boolean FDECL(match_optname, (const char *, const char *, int, BOOLEAN_P));
 E void NDECL(initoptions);
 E void NDECL(initoptions_init);
index 49924f4ee277139b10c6f8bf0967fa4f8c27f77b..21ea4d86b254e4797fcc0ef50597ded8768c2c6f 100644 (file)
--- a/src/do.c
+++ b/src/do.c
@@ -1253,6 +1253,7 @@ boolean at_stairs, falling, portal;
         (void) nhclose(fd);
         oinit(); /* reassign level dependent obj probabilities */
     }
+    reglyph_darkroom();
     /* do this prior to level-change pline messages */
     vision_reset();         /* clear old level's line-of-sight */
     vision_full_recalc = 0; /* don't let that reenable vision yet */