diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2011-01-11 17:28:27 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2011-01-11 19:18:11 +0100 |
commit | f07d3b57527afdb02678406ce6a9bb83a8c6440b (patch) | |
tree | 98c16c7cae813a4809c8b3f27179807752a4be8f /crawl-ref/source/cloud.h | |
parent | 2b5bbcb0550493faee67cca47bfb3c26fa1154e3 (diff) | |
download | crawl-ref-f07d3b57527afdb02678406ce6a9bb83a8c6440b.tar.gz crawl-ref-f07d3b57527afdb02678406ce6a9bb83a8c6440b.zip |
Temporary resistances don't prevent cloud autoexclusions.
This includes Necromutation/miasma.
Diffstat (limited to 'crawl-ref/source/cloud.h')
-rw-r--r-- | crawl-ref/source/cloud.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/cloud.h b/crawl-ref/source/cloud.h index ded06cb783..34220d61a7 100644 --- a/crawl-ref/source/cloud.h +++ b/crawl-ref/source/cloud.h @@ -63,7 +63,8 @@ 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 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); |