From: Pasi Kallinen Date: Sun, 14 Jun 2015 07:40:20 +0000 (+0300) Subject: Shapechangers got a completely random form X-Git-Tag: NetHack-3.6.0_RC01~269^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0c3ee5025e516f4db9f97b7a3ea67c4100b6fa5e;p=nethack Shapechangers got a completely random form mtmp->cham was NON_PM, which select_newcham_form interpreted as a completely random form. This also resulted Vlad getting a random shape, and not getting the Candelabrum, making the game unwinnable. --- diff --git a/src/makemon.c b/src/makemon.c index 5aea3392d..c200c21bf 100644 --- a/src/makemon.c +++ b/src/makemon.c @@ -1134,6 +1134,7 @@ register int mmflags; mtmp->cham = NON_PM; /* default is "not a shapechanger" */ if ((mcham = pm_to_cham(mndx)) != NON_PM) { /* this is a shapechanger after all */ + mtmp->cham = mcham; if (Protection_from_shape_changers || mtmp->cham == PM_VLAD_THE_IMPALER) { ; /* stuck in its natural form (NON_PM) */