summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.h
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2011-01-16 12:15:28 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2011-01-16 12:26:05 +0530
commit6d61462e27c78e19ed6229147d82234fa7b6fa5b (patch)
tree37f7457491455b5a23d5660b2af09dfdc0554413 /crawl-ref/source/cloud.h
parente46dae082d33de5db0c67dc9fd1e223118cd6171 (diff)
downloadcrawl-ref-6d61462e27c78e19ed6229147d82234fa7b6fa5b.tar.gz
crawl-ref-6d61462e27c78e19ed6229147d82234fa7b6fa5b.zip
is_harmless_cloud should not match rain, fixed.
Rain is not harmless: rain clouds damage fiery actors. is_damaging_cloud is better than actor_cloud_immune when checking for exclusions. actor_cloud_immune may return false, but the cloud may be non-damaging and have only positive side-effects.
Diffstat (limited to 'crawl-ref/source/cloud.h')
-rw-r--r--crawl-ref/source/cloud.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/cloud.h b/crawl-ref/source/cloud.h
index 34220d61a7..dad11cdc87 100644
--- a/crawl-ref/source/cloud.h
+++ b/crawl-ref/source/cloud.h
@@ -63,8 +63,6 @@ std::string cloud_type_name(cloud_type type, bool terse = true);
int get_cloud_colour(int cloudno);
coord_def get_cloud_originator(const coord_def& pos);
-bool actor_cloud_immune(const actor *act, const cloud_struct &cloud,
- bool temp = true);
bool is_damaging_cloud(cloud_type type, bool temp = false);
bool is_harmless_cloud(cloud_type type);
bool in_what_cloud (cloud_type type);