summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 9688c986ec..11031e0da2 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -1227,7 +1227,7 @@ void direction(dist& moves, const targetting_type restricts,
if (_find_square_wrapper(moves.target, monsfind_pos, 1,
_find_mlist, needs_path, idx, range,
- Options.target_wrap))
+ true))
{
moves.target = monsfind_pos;
}
@@ -1451,7 +1451,7 @@ void direction(dist& moves, const targetting_type restricts,
dir = (key_command == CMD_TARGET_CYCLE_BACK) ? -1 : 1;
if (_find_square_wrapper( moves.target, monsfind_pos, dir,
_find_monster, needs_path, mode, range,
- Options.target_wrap))
+ true))
{
moves.target = monsfind_pos;
}
@@ -1460,7 +1460,7 @@ void direction(dist& moves, const targetting_type restricts,
if (needs_path && !just_looking
&& _find_square_wrapper(moves.target, monsfind_pos, dir,
_find_monster, false, mode,
- range, Options.target_wrap))
+ range, true))
{
mpr("All monsters which could be auto-targeted "
"are covered by a wall or statue which interrupts "