summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index d4e63f1186..c1ba8b9d93 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -2117,7 +2117,7 @@ void down_stairs( int old_level, dungeon_feature_type force_stair,
mpr("You fall through a shaft!");
}
- if (stair_find == DNGN_ENTER_ZOT)
+ if (stair_find == DNGN_ENTER_ZOT && !you.opened_zot)
{
const int num_runes = runes_in_pack();
@@ -2135,6 +2135,9 @@ void down_stairs( int old_level, dungeon_feature_type force_stair,
}
return;
}
+ // TODO: This needs a better message!
+ mpr("The gate opens wide!");
+ you.opened_zot = true;
}
// Bail if any markers veto the move.