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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 9f80ac29e4..02f3bd766c 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -1166,14 +1166,14 @@ bool in_los(int x, int y)
static bool find_monster( int x, int y, int mode, bool need_path,
int range = -1)
{
- // target the player for friendly and general spells
+ // Target the player for friendly and general spells.
if ((mode == TARG_FRIEND || mode == TARG_ANY)
&& x == you.x_pos && y == you.y_pos)
{
return (true);
}
- // don't target out of range
+ // Don't target out of range.
if (!_is_target_in_range(x, y, range))
return (false);