summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-07-30 06:59:43 -0400
committerNeil Moore <neil@s-z.org>2014-07-30 06:59:46 -0400
commit4ccbf14a0f29572fe3fb64aaada6e1450c0e90ec (patch)
treeb5ec13c5f5c9705487b5217f94ace5fbfc543e82 /crawl-ref/source/cloud.h
parentb5031071af6e5f9561cb85f8762154aca3ec4433 (diff)
downloadcrawl-ref-4ccbf14a0f29572fe3fb64aaada6e1450c0e90ec.tar.gz
crawl-ref-4ccbf14a0f29572fe3fb64aaada6e1450c0e90ec.zip
Let Qazlalites disarm traps beneath their own clouds (#8758)
All the other player-relevant checks in actor_cloud_immune care only about the cloud type, so this isn't an information leak.
Diffstat (limited to 'crawl-ref/source/cloud.h')
-rw-r--r--crawl-ref/source/cloud.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/cloud.h b/crawl-ref/source/cloud.h
index aff65061da..8e569bcee7 100644
--- a/crawl-ref/source/cloud.h
+++ b/crawl-ref/source/cloud.h
@@ -41,6 +41,7 @@ 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 is_damaging_cloud(cloud_type type, bool temp = false);
bool is_harmless_cloud(cloud_type type);
bool in_what_cloud(cloud_type type);