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.
This commit is contained in:
@@ -976,6 +976,7 @@ litter(void)
|
|||||||
You("drop %s and %s %s down the stairs with you.",
|
You("drop %s and %s %s down the stairs with you.",
|
||||||
yname(otmp), (otmp->quan == 1L) ? "it" : "they",
|
yname(otmp), (otmp->quan == 1L) ? "it" : "they",
|
||||||
otense(otmp, "fall"));
|
otense(otmp, "fall"));
|
||||||
|
setnotworn(otmp);
|
||||||
freeinv(otmp);
|
freeinv(otmp);
|
||||||
hitfloor(otmp, FALSE);
|
hitfloor(otmp, FALSE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user