From 2f0795cae1e8dbca3f275964db82678acdcc4bde Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Thu, 19 Nov 2009 12:25:55 +1000 Subject: Prompt before auto-exploring the Labyrinth. The wording may require work. I'm not sure if this is acceptable, but the reasoning is that hitting 'o' by accident in the Labyrinth, especially when you have travel_delay = -1, can take you from just near the exit to miles away, and you have to start all over again. There are instances where auto-explore may be useful in the Labyrinth, so don't outright disable it. --- crawl-ref/source/main.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crawl-ref/source/main.cc') diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc index 29f262bfc7..ea2cab6d01 100644 --- a/crawl-ref/source/main.cc +++ b/crawl-ref/source/main.cc @@ -1876,6 +1876,14 @@ void process_command( command_type cmd ) mpr("You need to eat something NOW!"); break; } + else if (you.level_type == LEVEL_LABYRINTH) + { + if (!yesno("You will probably just end up going in circles. Are you" + " sure you wish to explore this labyrinth?", false, 'n')) + { + break; + } + } // Start exploring start_explore(Options.explore_greedy); break; -- cgit v1.2.3-54-g00ecf