summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/travel.cc')
-rw-r--r--crawl-ref/source/travel.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc
index 20f6d49160..1db49cdff9 100644
--- a/crawl-ref/source/travel.cc
+++ b/crawl-ref/source/travel.cc
@@ -14,6 +14,7 @@
#include "FixAry.h"
#include "branch.h"
#include "command.h"
+#include "cio.h"
#include "clua.h"
#include "delay.h"
#include "describe.h"
@@ -2552,6 +2553,15 @@ void start_travel(int x, int y)
void start_explore(bool grab_items)
{
+ if (Options.tut_explored)
+ Options.tut_explored = 0;
+
+ if (you.level_type == LEVEL_LABYRINTH || you.level_type == LEVEL_ABYSS)
+ {
+ mpr("It would help if you knew where you were, first.");
+ return;
+ }
+
if (!i_feel_safe(true))
return;