Bug: Diggable exits not handled by instaroom
Danger: Low - If a diggable exit should be closed at reset, this is currently not possible.
Discovered in: AFKMud 1.77
Found by: Zeno
Fixed by: Samson
if( !IS_EXIT_FLAG( pexit, EX_ISDOOR ) )
if( !IS_EXIT_FLAG( pexit, EX_ISDOOR ) && !IS_EXIT_FLAG( pexit, EX_DIG ) )
The old Smaug reset system had diggable exits being handled by the old "B" reset commands. These types of resets are somewhat cumbersome to setup and are not documented well except for how to setup a diggable exit. They also no longer exist since the introduction of the reset patch, which means they are no longer supportable.
Since the EX_DIG flag is independent of the reset itself, it stands to reason that if the flag is set, a "D" reset should be able to handle this even if there is no EX_ISDOOR flag. This allows the instaroom and instazone commands to create door resets for diggables.