summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-24 11:25:40 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-24 11:25:40 +0100
commit64a27196fc1b9740d0c2765faa9e24fce45d3af2 (patch)
tree2a16b5ac3e18dbd5b32151c3c4b3803ad40a0be3 /crawl-ref/source/directn.cc
parent24891de52a054839fc5aa2de5483cd0522015154 (diff)
downloadcrawl-ref-64a27196fc1b9740d0c2765faa9e24fce45d3af2.tar.gz
crawl-ref-64a27196fc1b9740d0c2765faa9e24fce45d3af2.zip
Remove unused option target_wrap.
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 "