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.cc5
1 files changed, 1 insertions, 4 deletions
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;