From 1d256ce08004115e95813ca5496baaf9ad9d225c Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Fri, 6 Nov 2009 18:19:51 +0100 Subject: Make "int rain()" take a const coord_def&. --- crawl-ref/source/spells2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spells2.cc') 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) -- cgit v1.2.3-54-g00ecf