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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index ba3f2df750..16725bf3ed 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -2797,7 +2797,7 @@ static void _describe_monster(const monsters *mon)
{
// special case: batty monsters get set to BEH_WANDER as
// part of their special behaviour.
- if (!testbits(mon->flags, MF_BATTY))
+ if (!mons_is_batty(mon))
{
mprf(MSGCH_EXAMINE, "%s doesn't appear to have noticed you.",
mon->pronoun(PRONOUN_CAP).c_str());