From 95a2c3cf145c3e2235b3f713a4269b632bee0725 Mon Sep 17 00:00:00 2001 From: Amans Tofu Date: Sun, 23 Jun 2019 21:53:24 +0800 Subject: [PATCH] Restore a false deletion, from 4ca7104 It will cause the game to crash when this condition is met --- src/activity_handlers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/activity_handlers.cpp b/src/activity_handlers.cpp index b6a796fa7f276..490f10f26527c 100644 --- a/src/activity_handlers.cpp +++ b/src/activity_handlers.cpp @@ -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 ) {