summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-16 10:15:03 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-16 10:15:50 +0200
commit70c41610927b7f9adfc3a0fd6c72c7af6756427e (patch)
treecdf9a59e1d30f85a3b5ef2e2cfaedab89f10e41c /crawl-ref/source/spells2.cc
parentdce44e60507ec723f3cf94cdeadc6762ee492786 (diff)
downloadcrawl-ref-70c41610927b7f9adfc3a0fd6c72c7af6756427e.tar.gz
crawl-ref-70c41610927b7f9adfc3a0fd6c72c7af6756427e.zip
Set killer for monster refrigeration.
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 230386026d..896ebb8d87 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -589,7 +589,7 @@ void cast_toxic_radiance(bool monster_cast)
}
}
-void cast_refrigeration(int pow, bool monster_cast)
+void cast_refrigeration(int pow, bool monster_cast, int caster)
{
mpr("The heat is drained from your surroundings.");
@@ -605,7 +605,7 @@ void cast_refrigeration(int pow, bool monster_cast)
if (hurted > 0)
{
mpr("You feel very cold.");
- ouch(hurted, NON_MONSTER, KILLED_BY_FREEZING);
+ ouch(hurted, caster, KILLED_BY_FREEZING);
// Note: this used to be 12!... and it was also applied even if
// the player didn't take damage from the cold, so we're being