From e0cf17e660cc68da118944243c1e9f3a97abd0bb Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sun, 14 Jun 2015 11:48:10 +0300 Subject: [PATCH] Fix the shapechanger fix again --- src/makemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/makemon.c b/src/makemon.c index c200c21bf..84407b9f2 100644 --- a/src/makemon.c +++ b/src/makemon.c @@ -1134,11 +1134,11 @@ 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) { + || mndx == PM_VLAD_THE_IMPALER) { ; /* stuck in its natural form (NON_PM) */ } else { + mtmp->cham = mcham; /* Note: shapechanger's initial form used to be chosen here with rndmonst(), yielding a monster which was approriate to the level's difficulty