summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-07 01:29:44 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-07 01:29:44 +0000
commit5406eedd8be938cfe204147314eda3cfbe3f470e (patch)
tree6728d6920e1be7c34688834bd8843769d5f03178 /crawl-ref/source/decks.cc
parentd0d2ca2bdb3014bdb24fa436cc047b9b3c81dcb4 (diff)
downloadcrawl-ref-5406eedd8be938cfe204147314eda3cfbe3f470e.tar.gz
crawl-ref-5406eedd8be938cfe204147314eda3cfbe3f470e.zip
Simplify handling of monsters angered by the player, and expand it to
not allow Trog worshippers to have magic-using followers. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4898 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/decks.cc')
-rw-r--r--crawl-ref/source/decks.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc
index ceb76498d7..7914856c6e 100644
--- a/crawl-ref/source/decks.cc
+++ b/crawl-ref/source/decks.cc
@@ -2439,7 +2439,7 @@ static void _crusade_card(int power, deck_rarity_type rarity)
|| mons_holiness(monster) != MH_NATURAL
|| mons_is_unique(monster->type)
|| mons_immune_magic(monster)
- || (is_good_god(you.religion) && mons_is_evil(monster)))
+ || player_angers_monster(monster, false))
{
continue;
}