From a63220f8123cc7f64d6c15504e8299b02355094b Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sat, 23 May 2009 18:43:42 +0000 Subject: Don't give away a shifter's identity post-mortem if it doesn't leave a corpse, so as to keep the player wondering. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9803 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monstuff.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/monstuff.cc') diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 7f8bedb703..07e9a43170 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -1733,12 +1733,12 @@ int monster_die(monsters *monster, killer_type killer, monster->destroy_inventory(); } - if (!silent && !wizard && !mons_reset + if (!silent && !wizard && !mons_reset && corpse != -1 && !(monster->flags & MF_KNOWN_MIMIC) && mons_is_shapeshifter(monster)) { simple_monster_message(monster, "'s shape twists and changes " - "as it dies; that was a shifter!"); + "as it dies."); } // If we kill an invisible monster reactivate autopickup. -- cgit v1.2.3-54-g00ecf