]> granicus.if.org Git - nethack/commitdiff
gnomish wizard follow-up to follow-up
authornethack.allison <nethack.allison>
Tue, 31 Dec 2002 04:11:38 +0000 (04:11 +0000)
committernethack.allison <nethack.allison>
Tue, 31 Dec 2002 04:11:38 +0000 (04:11 +0000)
By request, withdraw the limitation and revert
back to preventing all player species from
polymorphing into variants of that same species.

src/polyself.c

index ed267aceb4f9310a335daba7fc8c90e9556d66ca..bd58398a6c46f90d07712b44be991d4fa0dcabcf 100644 (file)
@@ -306,8 +306,7 @@ boolean forcecontrol;
        /* The below polyok() fails either if everything is genocided, or if
         * we deliberately chose something illegal to force newman().
         */
-       if (!polyok(&mons[mntmp]) || !rn2(5)
-               || (Race_if(PM_GNOME) && your_race(&mons[mntmp])))
+       if (!polyok(&mons[mntmp]) || !rn2(5) || your_race(&mons[mntmp]))
                newman();
        else if(!polymon(mntmp)) return;