diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-24 02:18:08 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-24 02:18:08 +0000 |
commit | 9b25d463b3d03f5d91ba672eea009e07331635d9 (patch) | |
tree | 225fb0a06f7037b412ed8f6e669f81f3c2808434 /crawl-ref/source/xom.cc | |
parent | bf52b8a42b11cf6c3bad310e32afb9801bf2944c (diff) | |
download | crawl-ref-9b25d463b3d03f5d91ba672eea009e07331635d9.tar.gz crawl-ref-9b25d463b3d03f5d91ba672eea009e07331635d9.zip |
Add more comment fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6094 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r-- | crawl-ref/source/xom.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index 754c6f5bd8..841acda19b 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -493,7 +493,7 @@ static bool _xom_is_good(int sever) else god_speaks(GOD_XOM, _get_xom_speech("multiple summons")); - // If we get a mix of demons and non-demons, there's a chance + // If we have a mix of demons and non-demons, there's a chance // that one or both of the factions may be hostile. int hostile = random2(12); int hostiletype = @@ -501,12 +501,13 @@ static bool _xom_is_good(int sever) (hostile < 11) ? (coinflip() ? 1 : 2) // 2/3: one is hostile : 3; // 1/12: both are hostile - // If we get only demons, they'll always be friendly. If we get - // only non-demons, there's a chance that they may be hostile. if (numdifferent == numdemons) { + // If we have only demons, they'll always be friendly. if (numdifferent == 0) hostiletype = 0; + // If we have only non-demons, there's a chance that they + // may be hostile. else if (one_chance_in(4)) hostiletype = 2; } |