diff --git a/src/mattack_actors.cpp b/src/mattack_actors.cpp index c02a1f22559b1..f65b15afbae64 100644 --- a/src/mattack_actors.cpp +++ b/src/mattack_actors.cpp @@ -613,8 +613,6 @@ int melee_actor::do_grab( monster &z, Creature *target, bodypart_id bp_id ) cons std::set intersect; std::set_intersection( neighbors.begin(), neighbors.end(), candidates.begin(), candidates.end(), std::inserter( intersect, intersect.begin() ) ); - std::set::iterator intersect_iter = intersect.begin(); - std::advance( intersect_iter, rng( 0, intersect.size() - 1 ) ); tripoint target_square = random_entry>( intersect ); if( z.can_move_to( target_square ) ) { monster *zz = target->as_monster();