summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-29 12:13:00 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-29 12:13:00 +0000
commitf8ea72f9b61219a187d9e3a026de32e46c35f789 (patch)
tree62a627a717e7af831a206ab1af8f944af79911cd /crawl-ref/source/spells4.cc
parent664250db33d8823ee68385eb72df9c46cc0a116d (diff)
downloadcrawl-ref-f8ea72f9b61219a187d9e3a026de32e46c35f789.tar.gz
crawl-ref-f8ea72f9b61219a187d9e3a026de32e46c35f789.zip
Fix 2134320: mummy curse had disappeared.
Did some more work along the lines of r6985, review by dolorous would be appreciated. :) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7068 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 7ee3913b65..5e3c4ad0f6 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -86,7 +86,7 @@ inline bool player_hurt_monster(int monster, int damage)
}
else
{
- monster_die( &menv[monster], KILL_YOU, 0 );
+ monster_die(&menv[monster], KILL_YOU, NON_MONSTER);
return (true);
}
}
@@ -1759,7 +1759,7 @@ bool cast_fragmentation(int pow, const dist& spd)
if (x_chance_in_y(pow / 5, 50)) // potential insta-kill
{
- monster_die(&menv[mon], KILL_YOU, 0);
+ monster_die(&menv[mon], KILL_YOU, NON_MONSTER);
beam.damage.num = 4;
}
else
@@ -2219,7 +2219,7 @@ void cast_far_strike(int pow)
// Inflict the damage.
hurt_monster( monster, damage );
if (monster->hit_points < 1)
- monster_die( monster, KILL_YOU, 0 );
+ monster_die(monster, KILL_YOU, NON_MONSTER);
else
print_wounds( monster );