summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r--crawl-ref/source/stuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc
index a0236de6c2..df64a4e24d 100644
--- a/crawl-ref/source/stuff.cc
+++ b/crawl-ref/source/stuff.cc
@@ -307,7 +307,7 @@ static bool tag_follower_at(const coord_def &pos)
// Only friendly monsters, or those actively seeking the
// player, will follow up/down stairs.
if (!mons_friendly(fmenv)
- && (fmenv->behaviour != BEH_SEEK || fmenv->foe != MHITYOU))
+ && (!mons_is_seeking(fmenv) || fmenv->foe != MHITYOU))
{
return (false);
}