From 3ee54d1c4ee7d3440f434e79181d4a181a526e7f Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Mon, 16 Jan 2023 09:40:05 +0200 Subject: [PATCH] Fix deleting worn object When going down stairs while punished, if you had quivered a mirror and the mirror was dropped because you fell down the stairs, it would not have been unequiped. --- src/ball.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ball.c b/src/ball.c index c3d542ef7..1ae701e89 100644 --- a/src/ball.c +++ b/src/ball.c @@ -976,6 +976,7 @@ litter(void) You("drop %s and %s %s down the stairs with you.", yname(otmp), (otmp->quan == 1L) ? "it" : "they", otense(otmp, "fall")); + setnotworn(otmp); freeinv(otmp); hitfloor(otmp, FALSE); }