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.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index 3ea8557f0f..810b708294 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -1467,6 +1467,20 @@ static int runes_in_pack()
bool check_annotation_exclusion_warning()
{
+ if (grd(you.pos()) == DNGN_ENTER_LABYRINTH
+ && player_mutation_level(MUT_TELEPORT))
+ {
+ mpr("Within the labyrinth you'll only be able to teleport away from "
+ "the exit!");
+ if (!yesno("Continue anyway?", false, 'N', true, false))
+ {
+ canned_msg(MSG_OK);
+ interrupt_activity( AI_FORCE_INTERRUPT );
+ return (false);
+ }
+ return (true);
+ }
+
level_id next_level_id = level_id::get_next_level_id(you.pos());
crawl_state.level_annotation_shown = false;