From 727a5f87e3fc402b7218833a6f34203def33dfc4 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Thu, 15 Oct 2009 13:12:23 +0200 Subject: Remove redundant conditional. --- crawl-ref/source/directn.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'crawl-ref/source/directn.cc') diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index 3ea523968b..53f214c599 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -1289,10 +1289,7 @@ void direction(dist& moves, targetting_type restricts, { // Direction not allowed, so just move in that direction. // Maybe make this a bigger jump? - if (restricts == DIR_TARGET) - moves.target += Compass[i] * 3; - else - moves.target += Compass[i]; + moves.target += Compass[i] * 3; } break; -- cgit v1.2.3-54-g00ecf