From 6e0a9cad5a5b46f5eaf98a68362af06a9e81c5fc Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Wed, 5 Dec 2018 22:35:59 +0200 Subject: [PATCH] Fake leash object is not attached When farlooking at a fake leash object, make it explicitly not be attached to a monster. --- src/pager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pager.c b/src/pager.c index e9fe016ed..22df977e4 100644 --- a/src/pager.c +++ b/src/pager.c @@ -187,6 +187,8 @@ struct obj **obj_p; otmp->quan = 2L; /* to force pluralization */ else if (otmp->otyp == SLIME_MOLD) otmp->spe = context.current_fruit; /* give it a type */ + else if (otmp->otyp == LEASH) + otmp->leashmon = 0; if (mtmp && has_mcorpsenm(mtmp)) /* mimic as corpse/statue */ otmp->corpsenm = MCORPSENM(mtmp); else if (otmp->otyp == CORPSE && glyph_is_body(glyph)) -- 2.49.0