add mexta field to simplify detection of overwrite

Because this invalidates existing save and bones files,
an increment of EDITLEVEL will accompany this.
This commit is contained in:
nhmall
2025-02-02 08:30:48 -05:00
parent 6431f4727c
commit d74624abbd
6 changed files with 10 additions and 0 deletions

View File

@@ -561,6 +561,7 @@ neweshk(struct monst *mtmp)
if (!ESHK(mtmp))
ESHK(mtmp) = (struct eshk *) alloc(sizeof(struct eshk));
(void) memset((genericptr_t) ESHK(mtmp), 0, sizeof(struct eshk));
ESHK(mtmp)->parentmid = mtmp->m_id;
ESHK(mtmp)->bill_p = (struct bill_x *) 0;
}