From 31a7c4f9f812f4a17d3033e121fc1fe4e70af43a Mon Sep 17 00:00:00 2001 From: Et-Tu-Brute1234 Date: Sat, 1 Feb 2025 09:34:51 -0600 Subject: [PATCH] Update activity_handlers.cpp --- src/activity_handlers.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/activity_handlers.cpp b/src/activity_handlers.cpp index efb395d234ff0..22dd2c06e34a3 100644 --- a/src/activity_handlers.cpp +++ b/src/activity_handlers.cpp @@ -625,8 +625,8 @@ static void set_up_butchery( player_activity &act, Character &you, butcher_type corpse.in_species( species_HUMAN ) || corpse.in_species( species_FERAL ); - // applies to all butchery actions except for dissections - if( is_human && action != butcher_type::DISSECT && !you.okay_with_eating_humans() ) { + // applies to all butchery actions except for dissections or dismemberment + if( is_human && action != butcher_type::DISSECT && !you.okay_with_eating_humans() && action != butcher_type::DISMEMBER) { //first determine if the butcherer has the dissect_humans proficiency. if( you.has_proficiency( proficiency_prof_dissect_humans ) ) { //if it's player doing the butchery, ask them first. @@ -1395,7 +1395,7 @@ static bool butchery_drops_harvest( item *corpse_item, const mtype &mt, Characte // therefore operations on this activity's targets and values may be invalidated. // reveal hidden items / hidden content if( action != butcher_type::FIELD_DRESS && action != butcher_type::SKIN && - action != butcher_type::BLEED ) { + action != butcher_type::BLEED && action != butcher_tyoe:: DISMEMBER) { for( item *content : corpse_item->all_items_top( pocket_type::CONTAINER ) ) { if( ( roll_butchery_dissect( round( you.get_average_skill_level( skill_survival ) ), you.dex_cur, tool_quality ) + 10 ) * 5 > rng( 0, 100 ) ) {