diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-23 18:43:42 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-23 18:43:42 +0000 |
commit | a63220f8123cc7f64d6c15504e8299b02355094b (patch) | |
tree | aed46e1c826e7b2b016a27a64d5d612d95cd8e03 | |
parent | 764966f7e59634c19b6188ed8fef7f8dd0b93c93 (diff) | |
download | crawl-ref-a63220f8123cc7f64d6c15504e8299b02355094b.tar.gz crawl-ref-a63220f8123cc7f64d6c15504e8299b02355094b.zip |
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
-rw-r--r-- | crawl-ref/source/monstuff.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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. |