Skip to content

Commit

Permalink
Fix deleting worn object
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
paxed committed Jan 16, 2023
1 parent b82a19e commit 3ee54d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ball.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3ee54d1

Please sign in to comment.