entrances to Zot and the four Hell branches, plus gates to further levels of Pandemonium, can be cycled via '>', while exits from Zot, the Vestibule of Hell, Pandemonium and portal vaults can be cycled via '<'.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6106 c06c8d41-db1a-0410-9941-cceddc491573
ZROKMPBKTMVGRHTVFG7V3PAXSBXKABG44RP4C45IHCXEG7NBBTYAC
}
}
static bool _is_feature_fudged(int feature, int x, int y)
{
if (!env.map[x][y].object)
return (false);
if (is_feature(feature, x, y))
return (true);
// 'grid' can fit in an unsigned char, but making this a short shuts up
// warnings about out-of-range case values.
short grid = grd[x][y];
if (feature == '<')
{
switch(grid)
{
case DNGN_EXIT_HELL:
case DNGN_EXIT_PORTAL_VAULT:
case DNGN_EXIT_ABYSS:
case DNGN_EXIT_PANDEMONIUM:
case DNGN_RETURN_FROM_ZOT:
return true;
default:
return (false);
}