Fix dark room glyphs on level re-entry
This commit is contained in:
@@ -1607,6 +1607,7 @@ E char *FDECL(safe_qbuf, (char *, const char *, const char *, struct obj *,
|
|||||||
|
|
||||||
/* ### options.c ### */
|
/* ### options.c ### */
|
||||||
|
|
||||||
|
E void NDECL(reglyph_darkroom);
|
||||||
E boolean FDECL(match_optname, (const char *, const char *, int, BOOLEAN_P));
|
E boolean FDECL(match_optname, (const char *, const char *, int, BOOLEAN_P));
|
||||||
E void NDECL(initoptions);
|
E void NDECL(initoptions);
|
||||||
E void NDECL(initoptions_init);
|
E void NDECL(initoptions_init);
|
||||||
|
|||||||
1
src/do.c
1
src/do.c
@@ -1253,6 +1253,7 @@ boolean at_stairs, falling, portal;
|
|||||||
(void) nhclose(fd);
|
(void) nhclose(fd);
|
||||||
oinit(); /* reassign level dependent obj probabilities */
|
oinit(); /* reassign level dependent obj probabilities */
|
||||||
}
|
}
|
||||||
|
reglyph_darkroom();
|
||||||
/* do this prior to level-change pline messages */
|
/* do this prior to level-change pline messages */
|
||||||
vision_reset(); /* clear old level's line-of-sight */
|
vision_reset(); /* clear old level's line-of-sight */
|
||||||
vision_full_recalc = 0; /* don't let that reenable vision yet */
|
vision_full_recalc = 0; /* don't let that reenable vision yet */
|
||||||
|
|||||||
Reference in New Issue
Block a user