summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-06 18:19:51 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-06 19:16:19 +0100
commit1d256ce08004115e95813ca5496baaf9ad9d225c (patch)
treee8dd5f11d65cdfc905cdb4f6a7be9807d0d3965e /crawl-ref/source/spells2.cc
parent30e93ba6eaa9012f8aafef9e6d250349338737c3 (diff)
downloadcrawl-ref-1d256ce08004115e95813ca5496baaf9ad9d225c.tar.gz
crawl-ref-1d256ce08004115e95813ca5496baaf9ad9d225c.zip
Make "int rain()" take a const coord_def&.
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index a21d7bcc56..f35a9e1f49 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -2241,7 +2241,7 @@ bool plant_ring_from_fruit()
// chance of spawning plants or fungus on unoccupied dry floor tiles
// outside of the rainfall area. Return the number of plants/fungi
// created.
-int rain(coord_def & target)
+int rain(const coord_def &target)
{
int spawned_count = 0;
for (radius_iterator rad(target, LOS_RADIUS, true, true, true); rad; ++rad)