From 48ddef9b8080318c7f537c2aa7f8fb3974e1b699 Mon Sep 17 00:00:00 2001 From: Anton Simakov <67688115+GuardianDll@users.noreply.github.com> Date: Mon, 13 Jan 2025 10:24:17 +0100 Subject: [PATCH] remove const from distance_limit --- src/overmapbuffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/overmapbuffer.h b/src/overmapbuffer.h index 50794f78a6ef9..7823b8ec5133d 100644 --- a/src/overmapbuffer.h +++ b/src/overmapbuffer.h @@ -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 );