Extra stone stairs (still) become escape hatches, except in Zot where they now become non-stairs, to coerce players into traveling through vaults.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4396 c06c8d41-db1a-0410-9941-cceddc491573
FQDZEDPB7ATGGA5QFFGOLGTPGNY6LMU7KQU7RMTRY2RUOQSCGQ2AC
if (preserve_vault_stairs)
{
int start = remove;
do
{
if (!(dgn_Map_Mask(stair_list[remove]) & MMT_VAULT))
break;
remove = (remove + 1) % num_stairs;
}
while (start != remove);
// If we looped through all possibilities, then it
// means that there are more than 3 stairs in vaults and
// we can't preserve vault stairs.
if (start == remove)
break;
}