summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-01 19:15:17 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-01 19:15:17 +0000
commit852567bef7b7d2091ba5e20d9b88022160738fb4 (patch)
treec6ddcacc53c3bedccb7945b3a5d37517671f1993 /crawl-ref
parentf2693552b6d60ebcdfccb78e353836d5afe25a30 (diff)
downloadcrawl-ref-852567bef7b7d2091ba5e20d9b88022160738fb4.tar.gz
crawl-ref-852567bef7b7d2091ba5e20d9b88022160738fb4.zip
Add comments.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9302 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/religion.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index a3275c771a..7d6b5d87ec 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -5327,6 +5327,8 @@ static bool _beogh_followers_on_level_abandon_you()
{
bool success = false;
+ // Note that orc high priests' summons are gifts of Beogh, so we
+ // can't use is_orcish_follower() here.
for (int i = 0; i < MAX_MONSTERS; ++i)
{
monsters *monster = &menv[i];
@@ -5453,6 +5455,8 @@ static bool _beogh_followers_abandon_you()
if (monster == NULL)
continue;
+ // Note that orc high priests' summons are gifts of Beogh,
+ // so we can't use is_orcish_follower() here.
if (mons_is_god_gift(monster, GOD_BEOGH))
{
num_followers++;