diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-10 16:19:07 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-10 19:16:54 +0200 |
commit | b7afef93c4c102d1fc4f1617944b9acd2ddb541e (patch) | |
tree | 1ab39ab064fa742501e3948d5562de6e37608d0e /crawl-ref/source/ray.h | |
parent | ecf93b9763ba7d21228db03a5b1a4b28a60796c0 (diff) | |
download | crawl-ref-b7afef93c4c102d1fc4f1617944b9acd2ddb541e.tar.gz crawl-ref-b7afef93c4c102d1fc4f1617944b9acd2ddb541e.zip |
Declare ray_def::footprint const.
Diffstat (limited to 'crawl-ref/source/ray.h')
-rw-r--r-- | crawl-ref/source/ray.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |