summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-25 16:52:05 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-25 16:52:05 +0000
commit3f56d09c37aa19256dbc99237703d398dda43777 (patch)
treeac27fb1774ecee338f626105440a65acea2b4309 /crawl-ref/source/travel.cc
parent3970539e0caa99ad9b68d454cc46f713ac71bc73 (diff)
downloadcrawl-ref-3f56d09c37aa19256dbc99237703d398dda43777.tar.gz
crawl-ref-3f56d09c37aa19256dbc99237703d398dda43777.zip
In is_stair(), include portal vault entrances and exits, since the
similar labyrinth entrances and exits are included. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6136 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/travel.cc')
-rw-r--r--crawl-ref/source/travel.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc
index b9ece90677..d91adee0a1 100644
--- a/crawl-ref/source/travel.cc
+++ b/crawl-ref/source/travel.cc
@@ -671,6 +671,8 @@ bool is_gate(dungeon_feature_type gridc)
case DNGN_ENTER_PANDEMONIUM:
case DNGN_EXIT_PANDEMONIUM:
case DNGN_TRANSIT_PANDEMONIUM:
+ case DNGN_ENTER_PORTAL_VAULT:
+ case DNGN_EXIT_PORTAL_VAULT:
return true;
default:
return false;