diff options
author | Charles Otto <ottochar@gmail.com> | 2009-10-31 21:39:32 -0400 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2009-10-31 21:42:05 -0400 |
commit | a57f61d4c87153e34a0ad1c5a540929c8151e47a (patch) | |
tree | caa393cd93798a3d5e743cd366091998625a5d3e /crawl-ref/source | |
parent | dd04f7f28d6eb47a9cfde6b258c228a8a5e5b5cb (diff) | |
download | crawl-ref-a57f61d4c87153e34a0ad1c5a540929c8151e47a.tar.gz crawl-ref-a57f61d4c87153e34a0ad1c5a540929c8151e47a.zip |
Fix bug [2890062] zot exit portals not working.
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/misc.cc | 6 |
1 files changed, 4 insertions, 2 deletions
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) { ; } |