summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-09 17:42:56 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-09 17:42:56 +0000
commit4a591f576e92c1aaba8a2bebff490ca1d2d46bd2 (patch)
tree5a1a55c1bb54a04d04e80f5277e875288f66b670 /crawl-ref/source/cloud.cc
parent26e7da694c06b16e51c76c9a804c72bcf3cc8360 (diff)
downloadcrawl-ref-4a591f576e92c1aaba8a2bebff490ca1d2d46bd2.tar.gz
crawl-ref-4a591f576e92c1aaba8a2bebff490ca1d2d46bd2.zip
[1829067] Fixed mephitic cloud not setting enchantment owner correctly on affected monsters.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2833 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/cloud.cc')
-rw-r--r--crawl-ref/source/cloud.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc
index 3685977ee8..7af542e463 100644
--- a/crawl-ref/source/cloud.cc
+++ b/crawl-ref/source/cloud.cc
@@ -301,3 +301,11 @@ cloud_type random_smoke_type()
}
return CLOUD_DEBUGGING;
}
+
+////////////////////////////////////////////////////////////////////////
+// cloud_struct
+
+killer_type cloud_struct::beam_thrower() const
+{
+ return (whose == KC_YOU? KILL_YOU_MISSILE : KILL_MON_MISSILE);
+}