Revert "fix "a Vlad the Impaler""
This reverts commit 6a056bbe77.
To be committed to NetHack-3.6.0 first and subsequently merged
back here.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.6 mon.c $NHDT-Date: 1526132509 2018/05/12 13:41:49 $ $NHDT-Branch: master $:$NHDT-Revision: 1.252 $ */
|
/* NetHack 3.6 mon.c $NHDT-Date: 1522540516 2018/03/31 23:55:16 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.250 $ */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/*-Copyright (c) Derek S. Ray, 2015. */
|
/*-Copyright (c) Derek S. Ray, 2015. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
@@ -1876,13 +1876,9 @@ register struct monst *mtmp;
|
|||||||
else
|
else
|
||||||
mtmp->cham = mndx;
|
mtmp->cham = mndx;
|
||||||
if (canspotmon(mtmp)) {
|
if (canspotmon(mtmp)) {
|
||||||
const char *whom = mtmp->data->mname;
|
|
||||||
|
|
||||||
/* was using a_monnam(mtmp) but that's weird if mtmp is named:
|
/* was using a_monnam(mtmp) but that's weird if mtmp is named:
|
||||||
"Dracula suddenly transforms and rises as Dracula" */
|
"Dracula suddenly transforms and rises as Dracula" */
|
||||||
if (!type_is_pname(mtmp->data))
|
pline(upstart(buf), an(mtmp->data->mname));
|
||||||
whom = an(whom);
|
|
||||||
pline(upstart(buf), whom);
|
|
||||||
vamp_rise_msg = TRUE;
|
vamp_rise_msg = TRUE;
|
||||||
}
|
}
|
||||||
newsym(x, y);
|
newsym(x, y);
|
||||||
|
|||||||
Reference in New Issue
Block a user