From 94d44e433ba113ba16af2eb72928b022e236de03 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Wed, 29 Nov 2023 12:15:05 +0200 Subject: [PATCH] Fix sanity error when pet ate a mimic corpse When a pet ate a mimic corpse and started mimicking a monster, and the user then used #wizmakemap, the sanity checker complained about "non-mimic posing as foo" - the code was clearing the pet eating counter, but didn't clear the appearance. --- src/dog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dog.c b/src/dog.c index 9b1513362..09cdb0053 100644 --- a/src/dog.c +++ b/src/dog.c @@ -733,7 +733,7 @@ keepdogs( unlike level change for steed, don't bother trying to achieve a normal trap escape first */ mtmp->mtrapped = 0; - mtmp->meating = 0; + finish_meating(mtmp); mtmp->msleeping = 0; mtmp->mfrozen = 0; mtmp->mcanmove = 1;