summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/directn.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index ef8cc71763..bd1c954fa4 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -1524,7 +1524,7 @@ void direction(dist& moves, targeting_type restricts,
mesclr(true); // Maybe not completely necessary.
bool in_range = (range < 0
- || grid_distance(moves.target, you.pos()) < range);
+ || grid_distance(moves.target,you.pos()) <= range);
terse_describe_square(moves.target, in_range);
}