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:
@@ -27,6 +27,7 @@ newegd(struct monst *mtmp)
|
||||
if (!EGD(mtmp)) {
|
||||
EGD(mtmp) = (struct egd *) alloc(sizeof (struct egd));
|
||||
(void) memset((genericptr_t) EGD(mtmp), 0, sizeof (struct egd));
|
||||
EGD(mtmp)->parentmid = mtmp->m_id;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user