1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-30 01:12:25 +01:00

Invalidate mon->light pointer when saving mtraits

This commit is contained in:
NeroOneTrueKing 2020-09-03 02:22:54 -05:00
parent d4be3421e8
commit 2591051a12

View file

@ -2539,6 +2539,7 @@ struct monst *mtmp;
EMON(obj)->nmon = (struct monst *)0;
EMON(obj)->data = (struct permonst *)0;
EMON(obj)->minvent = (struct obj *)0;
EMON(obj)->light = (struct ls_t *)0;
return obj;
}