diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-10 19:29:40 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-10 19:29:40 +0000 |
commit | 255a01cbf63e3f92b3cb530ed7bbfcea7c2f873b (patch) | |
tree | 7f4fc7bccb35d926154aaa14b6e53c97f6e03b21 /crawl-ref/source/arena.cc | |
parent | ae4fa94093711fd3f1773e37ecee850f9a44ea3e (diff) | |
download | crawl-ref-255a01cbf63e3f92b3cb530ed7bbfcea7c2f873b.tar.gz crawl-ref-255a01cbf63e3f92b3cb530ed7bbfcea7c2f873b.zip |
When doing something after _ouch() in a spell miscast, check for the
target's being alive first. Among other things, this fixes an assertion
failure when a translocation miscast kills a monster, and then attempts
to blink the dead monster afterward. Don't bother to check for being
alive if the miscast effect is player-only, of course, since, once the
player's dead, the game's over.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8390 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/arena.cc')
0 files changed, 0 insertions, 0 deletions