summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/randart.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-30 17:28:50 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-30 17:28:50 +0000
commitcc709969f3cc1be62731f15e98ed396b56191035 (patch)
treedfd5111a7d06a39e4331a4bcf7f879cd8f0b116e /crawl-ref/source/randart.cc
parentf2fc19261875e74de1517e99a487933c1fa62a4a (diff)
downloadcrawl-ref-cc709969f3cc1be62731f15e98ed396b56191035.tar.gz
crawl-ref-cc709969f3cc1be62731f15e98ed396b56191035.zip
Remove unnecessary parentheses.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4781 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/randart.cc')
-rw-r--r--crawl-ref/source/randart.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc
index 221962c662..d3d40eb0cd 100644
--- a/crawl-ref/source/randart.cc
+++ b/crawl-ref/source/randart.cc
@@ -52,8 +52,8 @@ static bool _god_fits_artefact(const god_type which_god, const item_def &item)
if (is_evil_god(which_god) && brand == SPWPN_HOLY_WRATH)
return (false);
- else if (is_good_god(which_god) && ((brand == SPWPN_DRAINING
- || brand == SPWPN_PAIN || brand == SPWPN_VAMPIRICISM)
+ else if (is_good_god(which_god) && (brand == SPWPN_DRAINING
+ || brand == SPWPN_PAIN || brand == SPWPN_VAMPIRICISM
|| randart_wpn_property(item, RAP_CURSED) != 0))
{
return (false);