From 4a591f576e92c1aaba8a2bebff490ca1d2d46bd2 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Fri, 9 Nov 2007 17:42:56 +0000 Subject: [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 --- crawl-ref/source/cloud.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crawl-ref/source/cloud.cc') 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); +} -- cgit v1.2.3-54-g00ecf