summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-23 18:43:42 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-23 18:43:42 +0000
commita63220f8123cc7f64d6c15504e8299b02355094b (patch)
treeaed46e1c826e7b2b016a27a64d5d612d95cd8e03 /crawl-ref/source/monstuff.cc
parent764966f7e59634c19b6188ed8fef7f8dd0b93c93 (diff)
downloadcrawl-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
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc4
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.