Merge branch 'fix-mkobj' of https://github.com/argrath/NetHack into NetHack-3.7

This commit is contained in:
nhmall
2023-11-30 12:16:46 -05:00
-1
View File
@@ -2052,7 +2052,6 @@ save_mtraits(struct obj *obj, struct monst *mtmp)
*mtmp2 = *mtmp; *mtmp2 = *mtmp;
mtmp2->mextra = (struct mextra *) 0; mtmp2->mextra = (struct mextra *) 0;
if (mtmp->data)
mtmp2->mnum = monsndx(mtmp->data); mtmp2->mnum = monsndx(mtmp->data);
/* invalidate pointers */ /* invalidate pointers */
/* m_id is needed to know if this is a revived quest leader */ /* m_id is needed to know if this is a revived quest leader */