]> granicus.if.org Git - nethack/commitdiff
fixes entry for PR #978 - suppress monster's name
authorPatR <rankin@nethack.org>
Mon, 20 Feb 2023 21:04:44 +0000 (13:04 -0800)
committerPatR <rankin@nethack.org>
Mon, 20 Feb 2023 21:04:44 +0000 (13:04 -0800)
for <new form> portion of messages "<old form> turns into <new form>"
to avoid named vampires yielding "Dracula turns into Dracula".

Pull request from entrez:  a couple of engulf messages used regular
monster naming for vamp-shifters transforming rather than dying.
3.6.1 had fixes for this for basic monster death but didn't handle
engulfing.

Fixes #978

doc/fixes3-7-0.txt
src/mhitm.c

index e9e15a00189587fc0fe124b6d71b0fa0647eaeee..faf65a68e69cb2b104d8dcdbb914f82bd4563978 100644 (file)
@@ -1113,6 +1113,8 @@ a monster capable of using a polymorph trap to deliberately change form could
        do so when trapped in an adjacent web or pit; if that happened, the
        monster remained flagged as 'trapped' and wouldn't be able to move
 give feedback when some types of damage are avoided due to MC (aka negation)
+feedback if a named, shape-shifted vampire reverted to original shape rather
+       than dying when engulfed could say "Dracula turns into Dracula"
 
 
 Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
index d49f527a57c508b146ee1f3a087f69d8a64fdfb7..24f90404d77c0fbde20aaa03fc2f23323c8c344d 100644 (file)
@@ -789,7 +789,6 @@ gulpmm(
                       x_monnam(mdef, ARTICLE_A, (char *) 0,
                                (SUPPRESS_NAME | SUPPRESS_IT
                                 | SUPPRESS_INVISIBLE), FALSE));
-                
             }
         }
         return MM_HIT; /* bypass mdamagem() */