From 79afbe7198247101c71f5c59026792f05d44faad Mon Sep 17 00:00:00 2001 From: SeventhSandwich Date: Wed, 5 Feb 2020 19:57:33 -0500 Subject: [PATCH] Update src/crafting.cpp Co-Authored-By: ZhilkinSerg --- src/crafting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crafting.cpp b/src/crafting.cpp index 04e50f4024a86..c94855dbe507b 100644 --- a/src/crafting.cpp +++ b/src/crafting.cpp @@ -2024,7 +2024,7 @@ bool player::disassemble( item_location target, bool interactive ) activity.index = false; activity.targets.emplace_back( std::move( target ) ); activity.str_values.push_back( r.result() ); - activity.position = std::min( num_dis, + // Unused position attribute used to store ammo to disassemble obj.charges ); // Unused position attribute used to store ammo to disassemble return true;