diff options
Diffstat (limited to 'crawl-ref/source/direct.cc')
-rw-r--r-- | crawl-ref/source/direct.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/crawl-ref/source/direct.cc b/crawl-ref/source/direct.cc index b35f3b3b6d..acbbc1ca0d 100644 --- a/crawl-ref/source/direct.cc +++ b/crawl-ref/source/direct.cc @@ -370,9 +370,7 @@ static void describe_oos_square(int x, int y) if (!in_bounds(x, y) || !is_mapped(x, y)) return; -#ifdef STASH_TRACKING describe_stash(x, y); -#endif describe_feature(x, y, true); } @@ -788,11 +786,8 @@ static bool find_object(int x, int y, int mode) const int item = igrd[x][y]; // The square need not be in LOS if the stash tracker knows this item. return (item != NON_ITEM - && (in_los(x, y) -#ifdef STASH_TRACKING - || (Options.target_oos && is_mapped(x, y) && is_stash(x, y)) -#endif - )); + && (in_los(x, y) + || (Options.target_oos && is_mapped(x, y) && is_stash(x, y)))); } static int next_los(int dir, int los, bool wrap) |