summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
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 3877f30dee..f08a824b89 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -451,7 +451,7 @@ static int _tame_beast_monsters(coord_def where, int pow, int, actor *)
if (monster == NULL)
return 0;
- if (!_is_domesticated_animal(monster->type) || mons_friendly(monster)
+ if (!_is_domesticated_animal(monster->type) || monster->friendly()
|| player_will_anger_monster(monster))
{
return 0;