cancelled zombification

Don't let cancelled zombies or cancelled liches create new zombies.
This commit is contained in:
PatR
2021-03-30 17:33:31 -07:00
parent 18b28b3355
commit 0479625c94
5 changed files with 34 additions and 33 deletions

View File

@@ -507,7 +507,7 @@ done_in_by(struct monst *mtmp, int how)
u.ugrave_arise = PM_WRAITH;
else if (mptr->mlet == S_MUMMY && g.urace.mummynum != NON_PM)
u.ugrave_arise = g.urace.mummynum;
else if (zombie_maker(mptr) && zombie_form(g.youmonst.data) != NON_PM)
else if (zombie_maker(mtmp) && zombie_form(g.youmonst.data) != NON_PM)
u.ugrave_arise = zombie_form(g.youmonst.data);
else if (mptr->mlet == S_VAMPIRE && Race_if(PM_HUMAN))
u.ugrave_arise = PM_VAMPIRE;