From 8ad4f44fa747a32e0d476971beeaf2c0550f16e5 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 20 Jun 2007 19:00:52 +0000 Subject: Experimental mouse support for ncurses (enable with mouse_input=yes in .crawlrc). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1610 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/travel.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'crawl-ref/source/travel.cc') 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; -- cgit v1.2.3-54-g00ecf