summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-07 09:52:00 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-07 09:52:00 +0000
commit085d445195e9621ca31d54076e1dabf11a09f9b6 (patch)
treeebc47268853bd4705b3734035777a637510867cb /crawl-ref/source/spells3.cc
parent2fbde88e4b97c1dfaa8b1603aec1c9cc818d922a (diff)
downloadcrawl-ref-085d445195e9621ca31d54076e1dabf11a09f9b6.tar.gz
crawl-ref-085d445195e9621ca31d54076e1dabf11a09f9b6.zip
Beogh bug fixes, mostly orcish gear stuff.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1780 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index ef67f7ba45..e068bda7f8 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -956,6 +956,10 @@ bool recall(char type_recalled)
{
if (mons_species(monster->type) != MONS_ORC)
continue;
+
+ // does not include charmed orcs
+ if (monster->attitude != ATT_FRIENDLY)
+ continue;
}
if (empty_surrounds(you.x_pos, you.y_pos, DNGN_FLOOR, 3, false, empty))