From b7afef93c4c102d1fc4f1617944b9acd2ddb541e Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 10 Oct 2009 16:19:07 +0200 Subject: Declare ray_def::footprint const. --- crawl-ref/source/ray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/ray.h') diff --git a/crawl-ref/source/ray.h b/crawl-ref/source/ray.h index acea3a33c1..9c72098981 100644 --- a/crawl-ref/source/ray.h +++ b/crawl-ref/source/ray.h @@ -32,7 +32,7 @@ public: void advance_and_bounce(); void regress(); - int footprint(int radius2, int xpos[], int ypos[]); + int footprint(int radius2, int xpos[], int ypos[]) const; // Gets/sets the slope in terms of degrees, with 0 = east, 90 = north, // 180 = west, 270 = south, 360 = east, -90 = south, etc -- cgit v1.2.3-54-g00ecf