Skip to content

Commit

Permalink
Explicitly use 0 min_distance.
Browse files Browse the repository at this point in the history
  • Loading branch information
CLIDragon committed Sep 11, 2024
1 parent 0dde0b1 commit 31a322b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ranged.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3164,7 +3164,7 @@ tripoint target_ui::choose_initial_target()

// Try closest practice target
map &here = get_map();
std::optional<tripoint> target_spot = find_point_closest_first( src, range, [this,
std::optional<tripoint> target_spot = find_point_closest_first( src, 0, range, [this,
&here]( const tripoint & pt ) {
return here.tr_at( pt ).id == tr_practice_target && this->you->sees( pt );
} );
Expand Down

0 comments on commit 31a322b

Please sign in to comment.