From a57f61d4c87153e34a0ad1c5a540929c8151e47a Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Sat, 31 Oct 2009 21:39:32 -0400 Subject: Fix bug [2890062] zot exit portals not working. --- crawl-ref/source/misc.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/misc.cc') diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index b17bbb422f..49b1baeaf7 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -1742,7 +1742,8 @@ void up_stairs(dungeon_feature_type force_stair, // Up and down both work for portals. if (get_feature_dchar(stair_find) == DCHAR_ARCH && feat_stair_direction(stair_find) != CMD_NO_CMD - && stair_find != DNGN_ENTER_ZOT) + && stair_find != DNGN_ENTER_ZOT + && stair_find != DNGN_RETURN_FROM_ZOT) { down_stairs(you.your_level, force_stair, entry_cause); return; @@ -2083,7 +2084,8 @@ void down_stairs( int old_level, dungeon_feature_type force_stair, // Up and down both work for portals. if (get_feature_dchar(stair_find) == DCHAR_ARCH && feat_stair_direction(stair_find) != CMD_NO_CMD - && stair_find != DNGN_ENTER_ZOT) + && stair_find != DNGN_ENTER_ZOT + && stair_find != DNGN_RETURN_FROM_ZOT) { ; } -- cgit v1.2.3-54-g00ecf