]> granicus.if.org Git - nethack/commit
fix #H5507 - vampire death message bug
authorPatR <rankin@nethack.org>
Fri, 26 May 2017 22:01:43 +0000 (15:01 -0700)
committerPatR <rankin@nethack.org>
Fri, 26 May 2017 22:01:43 +0000 (15:01 -0700)
commita791b4b16c1b435240ca4ca30fae7989daacbc81
treea0007e7635e1d060f6a84cb7f34061015ed52fcb
parent28fb9857577068c2f8b955e1a4b1f0400f4b246b
fix #H5507 - vampire death message bug

Fix a couple of weird messages issued when a shape-shifted vampire
is "killed" and reverts to regular vampire form instead of dying.
First weird one was when vampire has been given a name, as reported.
Second was noticed while fixing that:  when cause of death destroys
the creature so thoroughly that there'd be no corpse, the alternate
phrasing for noncorporeal or amorphous form should be used.

old:
 The Dracula suddenly transforms and rises as Dracula!
 The vampire bat is disintegrated.  The seemingly dead vampire bat
 suddenly transforms and rises as a vampire!
new:
 Dracula suddenly transforms and rises as a vampire!
 The vampire bat is disintegrated.  The seemingly dead vampire bat
 suddenly reconstitutes and rises as a vampire!
doc/fixes36.1
src/mon.c