From a349b607435cb0a10d2baccfd7346e7f3ecbd61b Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Tue, 31 Dec 2002 03:48:03 +0000 Subject: [PATCH] gnomish wizard follow-up Limit the race restriction to gnomes to avoid unanticipated problems with other species. --- src/polyself.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/polyself.c b/src/polyself.c index bd58398a6..ed267aceb 100644 --- a/src/polyself.c +++ b/src/polyself.c @@ -306,7 +306,8 @@ 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) || your_race(&mons[mntmp])) + if (!polyok(&mons[mntmp]) || !rn2(5) + || (Race_if(PM_GNOME) && your_race(&mons[mntmp]))) newman(); else if(!polymon(mntmp)) return; -- 2.40.0