summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-08 04:29:50 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-08 04:29:50 +0000
commit835386081ecfabc9e442ce6cc1139fae06564651 (patch)
treeec56759ac399d0ea30d268cec8d2b0eb51fbd8f8 /crawl-ref/source/spells4.cc
parentf9b3fccde9594e3ba99a93a8652416f32e662f8d (diff)
downloadcrawl-ref-835386081ecfabc9e442ce6cc1139fae06564651.tar.gz
crawl-ref-835386081ecfabc9e442ce6cc1139fae06564651.zip
Clean up handling of angered monsters.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5579 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 3e8b87b4f0..4bec36ec47 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -648,7 +648,7 @@ static int tame_beast_monsters(int x, int y, int pow, int garbage)
monsters *monster = &menv[which_mons];
if (!is_domesticated_animal(monster->type) || mons_friendly(monster)
- || player_angers_monster(monster, false))
+ || player_will_anger_monster(monster))
{
return 0;
}