summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.cc
diff options
context:
space:
mode:
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 e4d8e465ff..6c802f4c6c 100644
--- a/crawl-ref/source/ray.cc
+++ b/crawl-ref/source/ray.cc
@@ -177,8 +177,8 @@ static bool _advance_from_non_diamond(geom::ray *r)
// The ray is in a legal state to be passed around externally.
bool ray_def::_valid() const
{
- return (on_corner && is_corner(r.start) && bad_corner(r) ||
- !on_corner && in_diamond_int(r.start));
+ return (on_corner && is_corner(r.start) && bad_corner(r)
+ || !on_corner && in_diamond_int(r.start));
}
geom::vector _normalize(const geom::vector &v)