Skip to content

Commit

Permalink
Merge pull request #31767 from kwl01skz/patch-20
Browse files Browse the repository at this point in the history
Fix game crashes when full butchery
  • Loading branch information
ZhilkinSerg authored Jun 23, 2019
2 parents dc3475c + 95a2c3c commit 0e1e7e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/activity_handlers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ static void set_up_butchery( player_activity &act, player &u, butcher_type actio
if( !has_rope && !b_rack_present ) {
u.add_msg_if_player( m_info,
_( "To perform a full butchery on a corpse this big, you need either a butchering rack, a nearby hanging meathook, or both a long rope in your inventory and a nearby tree to hang the corpse from." ) );
act.targets.pop_back();
return;
}
if( !has_table_nearby ) {
Expand Down

0 comments on commit 0e1e7e8

Please sign in to comment.