summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/ray.h')
-rw-r--r--crawl-ref/source/ray.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/ray.h b/crawl-ref/source/ray.h
index 477f8fcbf7..671ca0fa8a 100644
--- a/crawl-ref/source/ray.h
+++ b/crawl-ref/source/ray.h
@@ -11,11 +11,12 @@
struct ray_def
{
geom::ray r;
+ bool on_corner;
int cycle_idx;
ray_def() {}
ray_def(const geom::ray& _r)
- : r(_r), cycle_idx(0) {}
+ : r(_r), on_corner(false), cycle_idx(0) {}
coord_def pos() const;
bool advance();