summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/shout.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-05 13:22:39 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 14:00:11 +0200
commit68935e461e64eeb85ea44c616d1eab58975b8e20 (patch)
tree471804168af54b681856211f26fefb5091b34c34 /crawl-ref/source/shout.cc
parent15d548d4ba1148531b8d755d4130962126bccb52 (diff)
downloadcrawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.tar.gz
crawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.zip
Some more return deparenthesization.
Diffstat (limited to 'crawl-ref/source/shout.cc')
-rw-r--r--crawl-ref/source/shout.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/shout.cc b/crawl-ref/source/shout.cc
index 3cd2d59c0e..f64e9913f2 100644
--- a/crawl-ref/source/shout.cc
+++ b/crawl-ref/source/shout.cc
@@ -980,7 +980,7 @@ coord_def noise_grid::noise_perceived_position(actor *act,
{
const int noise_travel_distance = cells(affected_pos).noise_travel_distance;
if (!noise_travel_distance)
- return (noise.noise_source);
+ return noise.noise_source;
const int cell_grid_distance =
grid_distance(affected_pos, noise.noise_source);
@@ -988,7 +988,7 @@ coord_def noise_grid::noise_perceived_position(actor *act,
if (cell_grid_distance <= LOS_RADIUS)
{
if (act->see_cell(noise.noise_source))
- return (noise.noise_source);
+ return noise.noise_source;
}
const int extra_distance_covered =