summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.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/ray.cc
parent15d548d4ba1148531b8d755d4130962126bccb52 (diff)
downloadcrawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.tar.gz
crawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.zip
Some more return deparenthesization.
Diffstat (limited to 'crawl-ref/source/ray.cc')
-rw-r--r--crawl-ref/source/ray.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/ray.cc b/crawl-ref/source/ray.cc
index c3fa9e69c9..ea9423f68f 100644
--- a/crawl-ref/source/ray.cc
+++ b/crawl-ref/source/ray.cc
@@ -429,7 +429,7 @@ static geom::form _corner_wall(const coord_def &side, const reflect_grid &rg)
// diagonal wall through side and -e
wall = side + e;
}
- return (geom::form(wall.y, -wall.x));
+ return geom::form(wall.y, -wall.x);
}
// Bounce a ray that leaves cell (0,0) through a corner. We could
@@ -526,7 +526,7 @@ void ray_def::bounce(const reflect_grid &rg)
double ray_def::get_degrees() const
{
- return (geom::degrees(r.dir));
+ return geom::degrees(r.dir);
}
void ray_def::set_degrees(double d)