summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.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/showsymb.cc
parent51aa1dcc06634d7d1851e964ac63b3c1fca3e1cf (diff)
downloadcrawl-ref-04ab49bde8bfadd87c7897b3319238b1da561812.tar.gz
crawl-ref-04ab49bde8bfadd87c7897b3319238b1da561812.zip
Drop unnecessary parentheses from return statements.
Diffstat (limited to 'crawl-ref/source/showsymb.cc')
-rw-r--r--crawl-ref/source/showsymb.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/showsymb.cc b/crawl-ref/source/showsymb.cc
index 62d3d62e92..a8f1945673 100644
--- a/crawl-ref/source/showsymb.cc
+++ b/crawl-ref/source/showsymb.cc
@@ -171,7 +171,7 @@ static monster_type _show_mons_type(const monster_info& mi)
static int _get_mons_colour(const monster_info& mi)
{
if (crawl_state.viewport_monster_hp) // show hp directly on the monster
- return (dam_colour(mi) | COLFLAG_ITEM_HEAP);
+ return dam_colour(mi) | COLFLAG_ITEM_HEAP;
int col = mi.colour;
@@ -470,7 +470,7 @@ cglyph_t get_cell_glyph(const coord_def& loc, bool only_stationary_monsters,
ucs_t get_feat_symbol(dungeon_feature_type feat)
{
- return (get_feature_def(feat).symbol);
+ return get_feature_def(feat).symbol;
}
ucs_t get_item_symbol(show_item_type it)