summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/main.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-24 23:33:50 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-24 23:33:50 +0100
commitd0ef64f0b4521e2d543feeaea49f843e95d6b8ee (patch)
tree901f39a1e53fd3501f86a380c7092b5a68e32cb8 /crawl-ref/source/main.cc
parent6a8fd2eaff54894b85f71ba5580de967c8037e74 (diff)
downloadcrawl-ref-d0ef64f0b4521e2d543feeaea49f843e95d6b8ee.tar.gz
crawl-ref-d0ef64f0b4521e2d543feeaea49f843e95d6b8ee.zip
Don't pass needs_path=true when looking around.
This makes sure you can cycle to stashes outside LOS.
Diffstat (limited to 'crawl-ref/source/main.cc')
-rw-r--r--crawl-ref/source/main.cc2
1 files changed, 1 insertions, 1 deletions
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)
{