From: Pasi Kallinen Date: Mon, 25 May 2015 07:02:09 +0000 (+0300) Subject: Fix dark room glyphs on level re-entry X-Git-Tag: NetHack-3.6.0_RC01~360 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd1932075eb09295338dcc8d9c6757cb36715a41;p=nethack Fix dark room glyphs on level re-entry --- diff --git a/include/extern.h b/include/extern.h index 8beca1ee7..75272c205 100644 --- a/include/extern.h +++ b/include/extern.h @@ -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); diff --git a/src/do.c b/src/do.c index 49924f4ee..21ea4d86b 100644 --- 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 */