summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-18 16:09:33 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-18 16:09:33 +0000
commit752bd3be6f5bf7bd5a8509e036f2d8a6c5c75e77 (patch)
tree381e398384f1b3f57c76c665bf1b6898f0623d62 /crawl-ref/source/monstuff.cc
parentfdb1f24de9d264bac9001fd211ddb1a1ee7bc3dd (diff)
downloadcrawl-ref-752bd3be6f5bf7bd5a8509e036f2d8a6c5c75e77.tar.gz
crawl-ref-752bd3be6f5bf7bd5a8509e036f2d8a6c5c75e77.zip
Add a few more follower-related cleanups.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5947 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 2b42ed9ad6..28ae299f8c 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -600,7 +600,7 @@ static bool _monster_avoided_death(monsters *monster, killer_type killer, int i)
else if (MON_KILL(killer) && !invalid_monster_index(i))
{
monsters *mon = &menv[i];
- if (is_orcish_follower(mon) && !one_chance_in(3))
+ if (is_follower(mon) && !one_chance_in(3))
convert = true;
}
}