Skip to content

Commit

Permalink
fix skin and field dress (#34261)
Browse files Browse the repository at this point in the history
  • Loading branch information
KorGgenT authored and kevingranade committed Sep 27, 2019
1 parent a05eeb8 commit 2d7e5c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game.cpp
Expand Up @@ -7958,10 +7958,10 @@ static void butcher_submenu( const std::vector<map_stack::iterator> &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;
}
}
Expand Down

0 comments on commit 2d7e5c2

Please sign in to comment.