summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-26 18:29:42 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-26 18:29:42 +0000
commit70df4be59a6a94c0e819c1056ddbc5f824305619 (patch)
tree9708cb79ffd1ca2a284111ae36919cedb210514b /crawl-ref
parent07cc5d88c2916d62afff58038ca4c1f90d8eea69 (diff)
downloadcrawl-ref-70df4be59a6a94c0e819c1056ddbc5f824305619.tar.gz
crawl-ref-70df4be59a6a94c0e819c1056ddbc5f824305619.zip
Actually search the whole level for Yred slaves.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7017 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/religion.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 836a75f0e7..472a1969cf 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -4564,8 +4564,8 @@ static bool _yred_slaves_abandon_you()
for (; how_many > 0; --how_many)
{
- monsters *slave = choose_random_nearby_monster(0, is_yred_slave, true,
- true);
+ monsters *slave = choose_random_monster_on_level(0, is_yred_slave, true,
+ true);
if (slave)
{
slave->attitude = ATT_HOSTILE;