From be58c68878c08c4d1373c2f38c9ef11d66010d06 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 31 Oct 2009 20:56:16 +0100 Subject: Simplify geom2d ray advance code. --- crawl-ref/source/geom2d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/geom2d.h') diff --git a/crawl-ref/source/geom2d.h b/crawl-ref/source/geom2d.h index 6f7e147ab1..e06f8bc28f 100644 --- a/crawl-ref/source/geom2d.h +++ b/crawl-ref/source/geom2d.h @@ -46,7 +46,7 @@ struct ray vector shoot(double t) const; void advance(double t); - void move_half_cell(const grid &g); + bool to_grid(const grid& g, bool half); bool to_next_cell(const grid& g); }; -- cgit v1.2.3-54-g00ecf