summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-06 18:00:27 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-06 18:00:27 +0000
commit56feeabfd11f1e469038a55066586441e57979ec (patch)
treec84b5817da73fc7c19a70fd669eaa7035b945dc2
parent84866d5434ff81a0ca20f3328f695b55a1f0e62d (diff)
downloadcrawl-ref-56feeabfd11f1e469038a55066586441e57979ec.tar.gz
crawl-ref-56feeabfd11f1e469038a55066586441e57979ec.zip
Add comment.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6431 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/xom.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index 6af82176bb..9bd707eb26 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -867,6 +867,7 @@ static bool _xom_is_bad(int sever)
}
else
{
+ // XXX: Can we clean up this ugliness, please?
const int numdemons =
std::min(random2(random2(random2(sever+1)+1)+1)+1, 14);