diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-14 18:53:57 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-14 18:53:57 +0000 |
commit | c7e632b377252d1b195d827ebdc9ea882f2a1194 (patch) | |
tree | 9602a1bf4c520239ddbb9fc01c92c00fd82dac75 /crawl-ref/source/stuff.cc | |
parent | dac70786ba4b5bb25196a32b8973e359f2c96e3a (diff) | |
download | crawl-ref-c7e632b377252d1b195d827ebdc9ea882f2a1194.tar.gz crawl-ref-c7e632b377252d1b195d827ebdc9ea882f2a1194.zip |
For Beoghites, make sure that only your orcish followers (as opposed to
any orcs) follow you down the stairs in groups.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5822 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r-- | crawl-ref/source/stuff.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc index 68b31a0e0d..d2e1fbb52e 100644 --- a/crawl-ref/source/stuff.cc +++ b/crawl-ref/source/stuff.cc @@ -72,6 +72,7 @@ #include "notes.h" #include "output.h" #include "player.h" +#include "religion.h" #include "skills2.h" #include "tutorial.h" #include "view.h" @@ -259,8 +260,8 @@ static bool tag_follower_at(const coord_def &pos) return (false); // Orcs will follow Beogh worshippers. - if (mons_species(fmenv->type) != MONS_ORC - || you.religion != GOD_BEOGH) + if (you.religion != GOD_BEOGH + || !is_orcish_follower(fmenv)) { return (false); } |