Reduce porximity range from 7 to 3

This commit is contained in:
ManyTheFish 2023-10-03 12:02:16 +02:00
parent 86b314626d
commit 43989fe2e4
2 changed files with 4 additions and 3 deletions

View file

@ -2,7 +2,7 @@ use std::cmp;
use crate::{relative_from_absolute_position, Position};
pub const MAX_DISTANCE: u32 = 8;
pub const MAX_DISTANCE: u32 = 4;
pub fn index_proximity(lhs: u32, rhs: u32) -> u32 {
if lhs <= rhs {