From 2d7e5c273c5b7c51b22a81970df14e7870fe3b9e Mon Sep 17 00:00:00 2001 From: Curtis Merrill Date: Fri, 27 Sep 2019 01:52:07 -0400 Subject: [PATCH] fix skin and field dress (#34261) --- src/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game.cpp b/src/game.cpp index af68ae93e3437..32dded7dc76fd 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -7958,10 +7958,10 @@ static void butcher_submenu( const std::vector &corpses, in const mtype *dead_mon = corpses[corpse]->get_mtype(); if( dead_mon ) { for( const harvest_entry &entry : dead_mon->harvest.obj() ) { - if( entry.drop == "skin" ) { + if( entry.type == "skin" ) { has_skin = true; } - if( entry.drop == "offal" ) { + if( entry.type == "offal" ) { has_organs = true; } }