Skip to content

Commit

Permalink
remove const from distance_limit
Browse files Browse the repository at this point in the history
  • Loading branch information
GuardianDll authored Jan 13, 2025
1 parent 14de34d commit 48ddef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/overmapbuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@ class overmapbuffer
bool is_explored( const tripoint_abs_omt &p );
void toggle_explored( const tripoint_abs_omt &p );
// compare origin_pos with a limit
bool distance_limit( const int distance, const tripoint_abs_omt &origin_pos,
bool distance_limit( int distance, const tripoint_abs_omt &origin_pos,
const tripoint_abs_omt &picked_pos );
// same as distance_limit, used to draw a border, to visualize the limit
bool distance_limit_line( const int distance, const tripoint_abs_omt &origin_pos,
bool distance_limit_line( int distance, const tripoint_abs_omt &origin_pos,
const tripoint_abs_omt &picked_pos );
om_vision_level seen( const tripoint_abs_omt &p );
bool seen_more_than( const tripoint_abs_omt &p, om_vision_level test );
Expand Down

0 comments on commit 48ddef9

Please sign in to comment.