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:
parent
d4be3421e8
commit
2591051a12
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue