Fix the shapechanger fix again

This commit is contained in:
Pasi Kallinen
2015-06-14 11:48:10 +03:00
parent 5d3ca5bb35
commit e0cf17e660

View File

@@ -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