summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-19 02:49:52 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-19 02:49:52 +0000
commita95aa60b90a0fd02a8cf7002a2b127298f56559b (patch)
tree05ec8e7dd0a28398f0bf58a15b21ed8431fe4161 /crawl-ref
parentc516f02f0a1911429e0ef7d3d3c1e81587f612b2 (diff)
downloadcrawl-ref-a95aa60b90a0fd02a8cf7002a2b127298f56559b.tar.gz
crawl-ref-a95aa60b90a0fd02a8cf7002a2b127298f56559b.zip
Add still one more Beogh fix: only accept collateral kills from orcish
followers (not charmed orcs) again. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3717 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index dd5cda81c7..ff847df0f3 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -812,7 +812,7 @@ void monster_die(monsters *monster, killer_type killer, int i, bool silent)
else if (you.religion == GOD_VEHUMET
|| you.religion == GOD_MAKHLEB
|| (you.religion == GOD_BEOGH
- && mons_species(menv[i].type) == MONS_ORC)
+ && is_orcish_follower(&menv[i]))
|| (!anon && testbits(menv[i].flags, MF_GOD_GIFT)))
{
// Yes, we are splitting undead pets from the others