Previous hero rising as undead in bones retains intrinsics

This commit is contained in:
Pasi Kallinen
2023-12-15 16:03:26 +02:00
parent b368d4fbe9
commit 3c421da746
4 changed files with 16 additions and 0 deletions

View File

@@ -486,6 +486,7 @@ savebones(int how, time_t when, struct obj *corpse)
u.ugrave_arise = NON_PM; /* in case caller cares */
return;
}
give_u_to_m_resistances(mtmp);
mtmp = christen_monst(mtmp, gp.plname);
newsym(u.ux, u.uy);
/* ["Your body rises from the dead as an <mname>..." used