summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/showsymb.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-05 12:14:09 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 12:14:09 +0200
commitc41419c4f47bbf0737d3fedf58128c835d2c4e3b (patch)
tree764ae18c107df39fd90af718922036bd245561ca /crawl-ref/source/showsymb.cc
parentb80adef8882143cad34f3c8bcc9a8ccbd4440223 (diff)
downloadcrawl-ref-c41419c4f47bbf0737d3fedf58128c835d2c4e3b.tar.gz
crawl-ref-c41419c4f47bbf0737d3fedf58128c835d2c4e3b.zip
Drop parentheses around scalar values in "return".
Diffstat (limited to 'crawl-ref/source/showsymb.cc')
-rw-r--r--crawl-ref/source/showsymb.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/showsymb.cc b/crawl-ref/source/showsymb.cc
index c093feaa58..80b3c78cce 100644
--- a/crawl-ref/source/showsymb.cc
+++ b/crawl-ref/source/showsymb.cc
@@ -126,7 +126,7 @@ unsigned short _cell_feat_show_colour(const map_cell& cell,
if (Options.show_travel_trail && travel_trail_index(loc) >= 0)
colour |= COLFLAG_REVERSE;
- return (colour);
+ return colour;
}
static int _get_mons_colour(const monster_info& mi)
@@ -185,7 +185,7 @@ static int _get_mons_colour(const monster_info& mi)
col = DARKGREY;
}
- return (col);
+ return col;
}
show_class get_cell_show_class(const map_cell& cell,
@@ -410,7 +410,7 @@ glyph get_item_glyph(const item_def *item)
glyph g;
g.ch = get_feature_def(show_type(*item)).symbol;
g.col = item->colour;
- return (g);
+ return g;
}
glyph get_mons_glyph(const monster_info& mi)
@@ -432,7 +432,7 @@ glyph get_mons_glyph(const monster_info& mi)
else
g.col = _get_mons_colour(mi);
g.col = real_colour(g.col);
- return (g);
+ return g;
}
std::string glyph_to_tagstr(const glyph& g)