a result, effectively kills it. Dead monsters can't be checked to see if TSO doesn't mind stabbing them (due to the monster holiness check), and can't have an associated stabbing message (due to the monster type check).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4219 c06c8d41-db1a-0410-9941-cceddc491573
YAICSBIJYVK6MB6GQL7AD4TYLXG3QDEIESQ5DJO5DX76VTDBRBDAC
if (!tso_stab_safe_monster(defender)
&& !yesno("Really attack this helpless creature?", false, 'n'))
// check for the would-be-stabbed monster's being alive, in case
// it was abjured as a result of the attack
bool cancel_stab = !defender->alive() ||
(!tso_stab_safe_monster(defender)
&& !yesno("Really attack this helpless creature?", false, 'n'));
if (cancel_stab)