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.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc
index d1880e6e9d..a910cb19d3 100644
--- a/crawl-ref/source/stuff.cc
+++ b/crawl-ref/source/stuff.cc
@@ -371,11 +371,11 @@ static bool tag_follower_at(const coord_def &pos)
// Undead will follow Yredelemnul worshippers, and orcs will
// follow Beogh worshippers.
- if (you.religion != GOD_YREDELEMNUL && you.religion != GOD_BEOGH)
- return (false);
-
- if (!is_follower(fmenv))
+ if ((you.religion != GOD_YREDELEMNUL && you.religion != GOD_BEOGH)
+ || !is_follower(fmenv))
+ {
return (false);
+ }
}
// Monster is chasing player through stairs.