From 923249085a1887cfc56b837097aae5aa78600f47 Mon Sep 17 00:00:00 2001 From: PatR Date: Mon, 20 Feb 2023 13:04:44 -0800 Subject: [PATCH] fixes entry for PR #978 - suppress monster's name for portion of messages " turns into " 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 | 2 ++ src/mhitm.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index e9e15a001..faf65a68e 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -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 diff --git a/src/mhitm.c b/src/mhitm.c index d49f527a5..24f90404d 100644 --- a/src/mhitm.c +++ b/src/mhitm.c @@ -789,7 +789,6 @@ gulpmm( x_monnam(mdef, ARTICLE_A, (char *) 0, (SUPPRESS_NAME | SUPPRESS_IT | SUPPRESS_INVISIBLE), FALSE)); - } } return MM_HIT; /* bypass mdamagem() */