diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-19 02:40:35 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-19 02:40:35 +0000 |
commit | c516f02f0a1911429e0ef7d3d3c1e81587f612b2 (patch) | |
tree | 7df2238fd49953fa60864024a4a2def5c8b6013f /crawl-ref/source/spells3.cc | |
parent | 383888c981a9c53edcce082a1d2ab53dc69659cb (diff) | |
download | crawl-ref-c516f02f0a1911429e0ef7d3d3c1e81587f612b2.tar.gz crawl-ref-c516f02f0a1911429e0ef7d3d3c1e81587f612b2.zip |
Also use is_orcish_follower() when recalling your orcish followers.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3716 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index ff63ac62c3..698f2e7e3d 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1149,11 +1149,7 @@ bool recall(char type_recalled) } else if (type_recalled == 2) // Beogh { - if (mons_species(monster->type) != MONS_ORC) - continue; - - // does not include charmed orcs - if (monster->attitude != ATT_FRIENDLY) + if (!is_orcish_follower(monster)) continue; } |