ebones follow-up fix #1

This commit is contained in:
nhmall
2025-02-05 17:26:15 -05:00
parent c9729bf838
commit c1516666b3

View File

@@ -813,9 +813,9 @@ newebones(struct monst *mtmp)
mtmp->mextra = newmextra();
if (!EBONES(mtmp)) {
EBONES(mtmp) = (struct ebones *) alloc(
sizeof(struct ebones *));
sizeof (struct ebones));
(void) memset((genericptr_t) EBONES(mtmp), 0,
sizeof(struct ebones *));
sizeof (struct ebones));
EBONES(mtmp)->parentmid = mtmp->m_id;
}
}