From: nethack.rankin Date: Wed, 14 Aug 2002 06:51:01 +0000 (+0000) Subject: enlightenment bit X-Git-Tag: MOVE2GIT~2519 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c19ba37192bb94c7687b21c6f3e5a91b7a8a21f7;p=nethack enlightenment bit --- diff --git a/doc/fixes34.1 b/doc/fixes34.1 index 3f3c54bb5..8c8576903 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -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 diff --git a/src/cmd.c b/src/cmd.c index 5d631ee46..436d21af7 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -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);