Make REINCARNATION unconditional.
There is a lot of code affected by this, and Pat Rankin correctly observes that it would be better to store roguelike as a level flag rather than just using Is_rogue_level. A note for the future.
This commit is contained in:
@@ -1059,12 +1059,10 @@ struct rm *lev;
|
||||
{
|
||||
int newmask = lev->doormask & ~WM_MASK;
|
||||
|
||||
#ifdef REINCARNATION
|
||||
if (Is_rogue_level(&u.uz))
|
||||
/* rogue didn't have doors, only doorways */
|
||||
newmask = D_NODOOR;
|
||||
else
|
||||
#endif
|
||||
/* newly exposed door is closed */
|
||||
if (!(newmask & D_LOCKED)) newmask |= D_CLOSED;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user