From: Pasi Kallinen Date: Wed, 5 Dec 2018 20:35:59 +0000 (+0200) Subject: Fake leash object is not attached X-Git-Tag: nmake-explicit-path~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e0a9cad5a5b46f5eaf98a68362af06a9e81c5fc;p=nethack Fake leash object is not attached When farlooking at a fake leash object, make it explicitly not be attached to a monster. --- 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))