more follow-up related to #1320

This commit is contained in:
nhmall
2024-11-10 10:06:07 -05:00
parent 5cc529efc8
commit c87a373b11
6 changed files with 27 additions and 15 deletions

View File

@@ -941,10 +941,10 @@ better_not_try_to_drop_that(struct obj *otmp)
{
char buf[BUFSZ];
/* u_safe_from_fatal_corpse() with 0xF checks for gloves and stoning
/* u_safe_from_fatal_corpse() with st_all checks for gloves and stoning
* resistance before bothering to prompt you.
*/
if (otmp->otyp == CORPSE && !u_safe_from_fatal_corpse(otmp, 0xF)) {
if (otmp->otyp == CORPSE && !u_safe_from_fatal_corpse(otmp, st_all)) {
Snprintf(
buf, sizeof buf,
"Drop the %s corpse without any protection while handling it?",