]> granicus.if.org Git - nethack/commitdiff
enlightenment bit
authornethack.rankin <nethack.rankin>
Wed, 14 Aug 2002 06:51:01 +0000 (06:51 +0000)
committernethack.rankin <nethack.rankin>
Wed, 14 Aug 2002 06:51:01 +0000 (06:51 +0000)
doc/fixes34.1
src/cmd.c

index 3f3c54bb59eee9b36840144c9a2968700f54e232..8c8576903a96bf06476f95c56933bcdfe1522f2a 100644 (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
index 5d631ee463410fb1689354bacd18deaa5a5a298a..436d21af7a5dfe932ffadc9bb9f11fa5bf76d86f 100644 (file)
--- 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);