From d0ef64f0b4521e2d543feeaea49f843e95d6b8ee Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 24 Nov 2009 23:33:50 +0100 Subject: Don't pass needs_path=true when looking around. This makes sure you can cycle to stashes outside LOS. --- crawl-ref/source/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/main.cc') diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc index 29ddf321e6..6c971cc7f3 100644 --- a/crawl-ref/source/main.cc +++ b/crawl-ref/source/main.cc @@ -1790,7 +1790,7 @@ void process_command( command_type cmd ) "(v - describe square, ? - help)", MSGCH_PROMPT); struct dist lmove; // Will be initialised by direction(). - direction(lmove, DIR_TARGET, TARG_ANY, -1, true); + direction(lmove, DIR_TARGET, TARG_ANY, -1, true, false); if (lmove.isValid && lmove.isTarget && !lmove.isCancel && !crawl_state.arena_suspended) { -- cgit v1.2.3-54-g00ecf