summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/geom2d.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-31 20:56:16 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-01 21:45:26 +0100
commitbe58c68878c08c4d1373c2f38c9ef11d66010d06 (patch)
treecf58242500fe30c94dc0f2b34cfcb1180ebfdb75 /crawl-ref/source/geom2d.h
parentb81b08f9aa02afd4a8195bf8d8b846b7de0788cd (diff)
downloadcrawl-ref-be58c68878c08c4d1373c2f38c9ef11d66010d06.tar.gz
crawl-ref-be58c68878c08c4d1373c2f38c9ef11d66010d06.zip
Simplify geom2d ray advance code.
Diffstat (limited to 'crawl-ref/source/geom2d.h')
-rw-r--r--crawl-ref/source/geom2d.h2
1 files changed, 1 insertions, 1 deletions
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);
};