summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-06 11:13:35 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-06 11:13:35 +0000
commit0eccbe92f13c4522ac01496e09213f9209a5f14c (patch)
tree85be68d768f36ca857bb57bf1c90124cf691f8e3 /crawl-ref/source/spells4.cc
parent1a3922fd4a76605598293aff58591a77f37c0bb1 (diff)
downloadcrawl-ref-0eccbe92f13c4522ac01496e09213f9209a5f14c.tar.gz
crawl-ref-0eccbe92f13c4522ac01496e09213f9209a5f14c.zip
FR [2163236]: Passwall should wake monsters it displaces.
Fix Passwall instadeaths not working for deep dwarves. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9344 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 2f970a3fe7..42c57fec65 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -952,7 +952,7 @@ static int _passwall(coord_def where, int pow, int, actor *)
{
if (howdeep > range || non_rock_barriers)
{
- ouch(1 + you.hp, NON_MONSTER, KILLED_BY_PETRIFICATION);
+ ouch(INSTANT_DEATH, NON_MONSTER, KILLED_BY_PETRIFICATION);
//jmf: not return; if wizard, successful transport is option
}
}