Fix dark room glyphs on level re-entry

This commit is contained in:
Pasi Kallinen
2015-05-25 10:02:09 +03:00
parent 911745a5ea
commit fd1932075e
2 changed files with 2 additions and 0 deletions

View 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);

View File

@@ -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 */