diff options
author | Eduardo Gonzalez <ed.gonzalez3@gmail.com> | 2014-04-29 01:24:58 -0700 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-04-30 02:28:06 +0100 |
commit | d2a92d9eb8d3e2293fa0ed09f2e8061ab6ef3184 (patch) | |
tree | 1855556716b8e8c087694e8a0be56e1e3e56945a /crawl-ref/source/mon-util.cc | |
parent | 4630a0305fc422d85376cb8e3bcde7554a894efc (diff) | |
download | crawl-ref-d2a92d9eb8d3e2293fa0ed09f2e8061ab6ef3184.tar.gz crawl-ref-d2a92d9eb8d3e2293fa0ed09f2e8061ab6ef3184.zip |
Disallow summoned and friendly orcs from preaching Beogh to orc players (#8464)
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index a63defedf8..dc7974bdad 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -813,6 +813,7 @@ bool mons_allows_beogh_now(const monster* mon) { // Do the expensive LOS check last. return mon && mons_allows_beogh(mon) + && !mon->is_summoned() && !mon->friendly() && !silenced(mon->pos()) && !mon->has_ench(ENCH_MUTE) && !mons_is_confused(mon) && mons_is_seeking(mon) && mon->foe == MHITYOU && !mons_is_immotile(mon) |