From d4e0b56366894297e22156db8d7a0511cb3e64ec Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Mon, 23 Nov 2009 21:12:49 +0100 Subject: Remove redundant check. --- crawl-ref/source/directn.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/directn.cc') diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index 39e5fb1a3a..405078316b 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -1079,7 +1079,7 @@ void direction(dist& moves, const targetting_type restricts, skip_iter = true; found_autotarget = true; } - else if (Options.default_target && (mode == TARG_ENEMY || mode == TARG_HOSTILE)) + else if (mode == TARG_ENEMY || mode == TARG_HOSTILE) { skip_iter = true; // Skip first iteration...XXX mega-hack if (you.prev_targ != MHITNOT && you.prev_targ != MHITYOU) @@ -1120,7 +1120,7 @@ void direction(dist& moves, const targetting_type restricts, // Prompts might get scrolled off if you have too few lines available. // We'll live with that. - if ( !just_looking && (show_prompt || beh->should_redraw()) ) + if (!just_looking && (show_prompt || beh->should_redraw())) { mprf(MSGCH_PROMPT, "%s (%s)", prompt ? prompt : "Aim", target_mode_help_text(restricts)); -- cgit v1.2.3-54-g00ecf