summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-01 19:45:12 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-01 19:45:12 +0000
commitcb58b68541163533f7679967d2fba0098e019631 (patch)
tree31745f914042265a27744852b7ccae7c237cbd6c /crawl-ref/source/stuff.cc
parentc10bc5a2f2146120a856e49c49a2547fd0e3bf2e (diff)
downloadcrawl-ref-cb58b68541163533f7679967d2fba0098e019631.tar.gz
crawl-ref-cb58b68541163533f7679967d2fba0098e019631.zip
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7328 c06c8d41-db1a-0410-9941-cceddc491573
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.