fix issue #1309 - secret doors in Garden rooms
Issue reported by elunna: when a room gets converted into a theme room with fill type Garden, its walls are changed to trees but any secret doors in those walls are still displayed as regular walls. This adds a new D_ARBOREAL flag for secret doors, used to force them to be displayed as a tree instead of a wall. Fixes #1309
This commit is contained in:
@@ -1588,7 +1588,7 @@ do_vicinity_map(
|
||||
void
|
||||
cvt_sdoor_to_door(struct rm *lev)
|
||||
{
|
||||
int newmask = lev->doormask & ~WM_MASK;
|
||||
int newmask = lev->doormask & ~(WM_MASK | D_ARBOREAL);
|
||||
|
||||
if (Is_rogue_level(&u.uz)) {
|
||||
/* rogue didn't have doors, only doorways */
|
||||
|
||||
Reference in New Issue
Block a user