summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-01 20:52:04 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-01 20:52:04 +0000
commit8cc866662f59fac3f886072fd1c6472759c9ae6e (patch)
treebda2c7561265301ff6bbe922ff82f9ca8f3de03b /crawl-ref/source/religion.cc
parentac0dae19dd3db24467a75a7691d349f12bb9ee59 (diff)
downloadcrawl-ref-8cc866662f59fac3f886072fd1c6472759c9ae6e.tar.gz
crawl-ref-8cc866662f59fac3f886072fd1c6472759c9ae6e.zip
Fix parentheses.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4801 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-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 9ec4adfcd0..809919a2cb 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -2939,8 +2939,8 @@ static bool _zin_retribution()
int punishment = random2(10);
// if little mutated or can't unmutate, do something else instead
- if ((punishment < 2 && how_mutated() <= random2(3))
- || player_mutation_level(MUT_MUTATION_RESISTANCE) == 3)
+ if (punishment < 2 && (how_mutated() <= random2(3)
+ || player_mutation_level(MUT_MUTATION_RESISTANCE) == 3))
{
punishment = random2(8)+2;
}