enlightenment bit

This commit is contained in:
nethack.rankin
2002-08-14 06:51:01 +00:00
parent 22e65c3e9e
commit c19ba37192
2 changed files with 3 additions and 2 deletions

View File

@@ -205,6 +205,7 @@ let mind flayer grow up into master mind flayer; also giant/sewer rat and
engulfing green slime as a purple worm was causing stoning not sliming
zero entries in DUNGEON, MONSTERS, et al, of config file are now treated
as preserving the default rather than being ignored
enlightenment: don't misreport polymorphed lycanthrope as "in beast form"
Platform- and/or Interface-Specific Fixes

View File

@@ -1,4 +1,4 @@
/* SCCS Id: @(#)cmd.c 3.4 2002/06/23 */
/* SCCS Id: @(#)cmd.c 3.4 2002/08/12 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
@@ -951,7 +951,7 @@ int final; /* 0 => still in progress; 1 => over, survived; 2 => dead */
you_are(buf);
}
if (Upolyd) {
if (u.ulycn >= LOW_PM) Strcpy(buf, "in beast form");
if (u.umonnum == u.ulycn) Strcpy(buf, "in beast form");
else Sprintf(buf, "polymorphed into %s", an(youmonst.data->mname));
#ifdef WIZARD
if (wizard) Sprintf(eos(buf), " (%d)", u.mtimedone);