Fix pet data being reset when charm monster was cast
Casting charm monster with pets nearby could reset the edog struct. If the pet ate a mimic corpse and was pretending to be something else when that edog reset happened, the sanity checking would issue an impossible. The error happened because meating was reset, but the pet appearance was not, but the edog struct reset is the part being wrong. Lets not do that. To reproduce, turn on sanity checking, create a tame dog, give it a mimic corpse to eat, #wizcast charm monster next to it.
This commit is contained in:
Reference in New Issue
Block a user