summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-12 19:54:24 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-12 19:54:24 +0100
commit25634a7027616358c3b5ba94e478d4d641a03196 (patch)
tree50d5aad020c35f1d09d371b089bc58c85f844784 /crawl-ref/source/cloud.cc
parent1767660614a67312a647dc709ee4a96096e35ef7 (diff)
downloadcrawl-ref-25634a7027616358c3b5ba94e478d4d641a03196.tar.gz
crawl-ref-25634a7027616358c3b5ba94e478d4d641a03196.zip
Add new killer_type KILL_MISCAST whose clouds don't autoexclude.
Not to be confused with KILL_MISC, which is used, among other for the flamethrower vaults. Aside from spell miscasts, KILL_MISCAST also applies to Zot traps and Xom effects.
Diffstat (limited to 'crawl-ref/source/cloud.cc')
-rw-r--r--crawl-ref/source/cloud.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc
index 50e27a3fd2..60cde0db60 100644
--- a/crawl-ref/source/cloud.cc
+++ b/crawl-ref/source/cloud.cc
@@ -67,7 +67,8 @@ static bool _killer_whose_match(kill_category whose, killer_type killer)
return (killer == KILL_MON_MISSILE || killer == KILL_YOU_CONF);
case KC_OTHER:
- return (killer == KILL_MON_MISSILE || killer == KILL_MISC);
+ return (killer == KILL_MON_MISSILE || killer == KILL_MISCAST
+ || killer == KILL_MISC);
case KC_NCATEGORIES:
ASSERT(false);