summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/artefact.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-11-15 17:26:11 -0500
committerNeil Moore <neil@s-z.org>2013-11-15 17:26:11 -0500
commite7b96ffa70ca93a3cea9e2cead6f40085a6a2d68 (patch)
treeec3e4b86d3b4ed96250f735b4e597e83ee886de8 /crawl-ref/source/artefact.cc
parentb65bf4d5198c19095e3084a88983680df19ec5ee (diff)
downloadcrawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.tar.gz
crawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.zip
More formatting fixes for return (...);
Diffstat (limited to 'crawl-ref/source/artefact.cc')
-rw-r--r--crawl-ref/source/artefact.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc
index c284ee379c..0fe2f2611a 100644
--- a/crawl-ref/source/artefact.cc
+++ b/crawl-ref/source/artefact.cc
@@ -332,15 +332,15 @@ bool is_unrandom_artefact(const item_def &item)
bool is_special_unrandom_artefact(const item_def &item)
{
- return (item.flags & ISFLAG_UNRANDART
- && (_seekunrandart(item)->flags & UNRAND_FLAG_SPECIAL));
+ return item.flags & ISFLAG_UNRANDART
+ && (_seekunrandart(item)->flags & UNRAND_FLAG_SPECIAL);
}
bool is_randapp_artefact(const item_def &item)
{
- return (item.flags & ISFLAG_UNRANDART
- && !(item.flags & ISFLAG_KNOW_TYPE)
- && (_seekunrandart(item)->flags & UNRAND_FLAG_RANDAPP));
+ return item.flags & ISFLAG_UNRANDART
+ && !(item.flags & ISFLAG_KNOW_TYPE)
+ && (_seekunrandart(item)->flags & UNRAND_FLAG_RANDAPP);
}
void autoid_unrand(item_def &item)
@@ -1810,8 +1810,8 @@ bool randart_is_bad(const item_def &item, artefact_properties_t &proprt)
return true;
}
- return (_randart_is_redundant(item, proprt)
- || _randart_is_conflicting(item, proprt));
+ return _randart_is_redundant(item, proprt)
+ || _randart_is_conflicting(item, proprt);
}
bool randart_is_bad(const item_def &item)