Slippery fingers would cause a wielded, in-use leash to be dropped
without first unleashing. The fixes entry for the polyself case applies
to this one too:
dropped wielded, in use leash should remain in inventory, since it's in-use
-/* SCCS Id: @(#)do_wear.c 3.5 2006/11/27 */
+/* SCCS Id: @(#)do_wear.c 3.5 2007/02/17 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
xfl++;
wastwoweap = TRUE;
setuswapwep((struct obj *)0); /* clears u.twoweap */
- if (otmp->otyp != LOADSTONE || !otmp->cursed)
+ if (canletgo(otmp, ""))
dropx(otmp);
}
otmp = uwep;
/* xfl++; */
otmp->quan = savequan;
setuwep((struct obj *)0);
- if (otmp->otyp != LOADSTONE || !otmp->cursed)
+ if (canletgo(otmp, ""))
dropx(otmp);
}
}