summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-behv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-behv.cc')
-rw-r--r--crawl-ref/source/mon-behv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-behv.cc b/crawl-ref/source/mon-behv.cc
index 56dce671b0..6fd35d26d3 100644
--- a/crawl-ref/source/mon-behv.cc
+++ b/crawl-ref/source/mon-behv.cc
@@ -1594,7 +1594,7 @@ void handle_behaviour(monsters *mon)
static bool _mons_check_foe(monsters *mon, const coord_def& p,
bool friendly, bool neutral)
{
- if (!inside_level_bounds(p))
+ if (!in_bounds(p))
return (false);
if (!friendly && !neutral && p == you.pos()