diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-01 19:45:12 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-01 19:45:12 +0000 |
commit | cb58b68541163533f7679967d2fba0098e019631 (patch) | |
tree | 31745f914042265a27744852b7ccae7c237cbd6c /crawl-ref/source/stuff.cc | |
parent | c10bc5a2f2146120a856e49c49a2547fd0e3bf2e (diff) | |
download | crawl-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.cc | 8 |
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. |