diff --git a/src/activity_item_handling.cpp b/src/activity_item_handling.cpp index 8ef4f9d828553..6955a15c1e510 100644 --- a/src/activity_item_handling.cpp +++ b/src/activity_item_handling.cpp @@ -2142,8 +2142,8 @@ static bool mine_activity( player &p, const tripoint &src_loc ) // We're breaking up some flat surface like pavement, which is much easier moves /= 2; } - p.assign_activity( powered ? ACT_JACKHAMMER : ACT_PICKAXE, moves, -1, - p.get_item_position( chosen_item ) ); + p.assign_activity( powered ? ACT_JACKHAMMER : ACT_PICKAXE, moves ); + p.activity.targets.push_back( item_location( p, chosen_item ) ); p.activity.placement = here.getabs( src_loc ); return true;