From b81b08f9aa02afd4a8195bf8d8b846b7de0788cd Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 31 Oct 2009 20:16:24 +0100 Subject: Add a bunch of ASSERTs to ray.cc. --- crawl-ref/source/ray.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/ray.h') diff --git a/crawl-ref/source/ray.h b/crawl-ref/source/ray.h index cc7688571d..6748090348 100644 --- a/crawl-ref/source/ray.h +++ b/crawl-ref/source/ray.h @@ -17,9 +17,9 @@ struct ray_def bool on_corner; int cycle_idx; - ray_def() {} + ray_def() : on_corner(false), cycle_idx(-1) {} ray_def(const geom::ray& _r) - : r(_r), on_corner(false), cycle_idx(0) {} + : r(_r), on_corner(false), cycle_idx(-1) {} coord_def pos() const; bool advance(); -- cgit v1.2.3-54-g00ecf