From 64a27196fc1b9740d0c2765faa9e24fce45d3af2 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 24 Nov 2009 11:25:40 +0100 Subject: Remove unused option target_wrap. --- crawl-ref/source/directn.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/directn.cc') 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 " -- cgit v1.2.3-54-g00ecf