diff options
-rw-r--r-- | crawl-ref/source/spells2.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/spells2.h | 2 |
2 files changed, 2 insertions, 2 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) diff --git a/crawl-ref/source/spells2.h b/crawl-ref/source/spells2.h index 06e4e70452..124032f9f4 100644 --- a/crawl-ref/source/spells2.h +++ b/crawl-ref/source/spells2.h @@ -35,7 +35,7 @@ bool sunlight(); bool prioritise_adjacent(coord_def & target, std::vector<coord_def> & candidates); bool plant_ring_from_fruit(); -int rain(coord_def & target); +int rain(const coord_def &target); int corpse_spores(beh_type behavior = BEH_FRIENDLY); bool evolve_flora(); |