diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-08 04:29:50 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-08 04:29:50 +0000 |
commit | 835386081ecfabc9e442ce6cc1139fae06564651 (patch) | |
tree | ec56759ac399d0ea30d268cec8d2b0eb51fbd8f8 /crawl-ref/source/spells4.cc | |
parent | f9b3fccde9594e3ba99a93a8652416f32e662f8d (diff) | |
download | crawl-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.cc | 2 |
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; } |