summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-item.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-14 17:21:58 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-15 21:03:43 +0100
commit04ab49bde8bfadd87c7897b3319238b1da561812 (patch)
treeafd986d551f519de290313bb485d0ee1bfa743c2 /crawl-ref/source/wiz-item.cc
parent51aa1dcc06634d7d1851e964ac63b3c1fca3e1cf (diff)
downloadcrawl-ref-04ab49bde8bfadd87c7897b3319238b1da561812.tar.gz
crawl-ref-04ab49bde8bfadd87c7897b3319238b1da561812.zip
Drop unnecessary parentheses from return statements.
Diffstat (limited to 'crawl-ref/source/wiz-item.cc')
-rw-r--r--crawl-ref/source/wiz-item.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/wiz-item.cc b/crawl-ref/source/wiz-item.cc
index fa8749ebc9..47f3eb48b8 100644
--- a/crawl-ref/source/wiz-item.cc
+++ b/crawl-ref/source/wiz-item.cc
@@ -561,8 +561,8 @@ void wizard_tweak_object(void)
// Returns whether an item of this type can be an artefact.
static bool _item_type_can_be_artefact(int type)
{
- return (type == OBJ_WEAPONS || type == OBJ_ARMOUR || type == OBJ_JEWELLERY
- || type == OBJ_BOOKS);
+ return type == OBJ_WEAPONS || type == OBJ_ARMOUR || type == OBJ_JEWELLERY
+ || type == OBJ_BOOKS;
}
static bool _make_book_randart(item_def &book)
@@ -737,8 +737,8 @@ void wizard_make_object_randart()
// Returns whether an item of this type can be cursed.
static bool _item_type_can_be_cursed(int type)
{
- return (type == OBJ_WEAPONS || type == OBJ_ARMOUR || type == OBJ_JEWELLERY
- || type == OBJ_STAVES || type == OBJ_RODS);
+ return type == OBJ_WEAPONS || type == OBJ_ARMOUR || type == OBJ_JEWELLERY
+ || type == OBJ_STAVES || type == OBJ_RODS;
}
void wizard_uncurse_item()