diff --git a/src/mkobj.c b/src/mkobj.c index ec635534b..9c1be2b58 100644 --- a/src/mkobj.c +++ b/src/mkobj.c @@ -1084,6 +1084,10 @@ struct monst *mtmp; mtmp2->nmon = (struct monst *)0; mtmp2->data = (struct permonst *)0; mtmp2->minvent = (struct obj *)0; +#ifndef GOLDOBJ + /* not a pointer but is discarded along with minvent */ + mtmp2->mgold = 0L; +#endif otmp->oattached = OATTACHED_MONST; /* mark it */ } return otmp;