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

Created by  dolorous  on January 10, 2009
S2XL2O3WVDHAXO3YUNSSGG6PTSV5EWBIIZOOG6KRK5P5LTH2YCFQC
Change contents