From a6772da65d6eb0204c3df9030e74c131abda4644 Mon Sep 17 00:00:00 2001 From: nhmall Date: Thu, 30 Nov 2023 12:19:16 -0500 Subject: [PATCH] pull request 1156 follow-up bit --- src/mkobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mkobj.c b/src/mkobj.c index d94458e80..cd1e95765 100644 --- a/src/mkobj.c +++ b/src/mkobj.c @@ -2047,7 +2047,7 @@ save_mtraits(struct obj *obj, struct monst *mtmp) if (!has_omonst(obj)) newomonst(obj); if (has_omonst(obj)) { - int baselevel = mtmp->data->mlevel; + int baselevel = mtmp->data->mlevel; /* mtmp->data is valid ptr */ struct monst *mtmp2 = OMONST(obj); *mtmp2 = *mtmp;