From 4e5d200b70b58ecab6ed0716dcef2db2b29a2903 Mon Sep 17 00:00:00 2001 From: Shane Handley Date: Thu, 12 Mar 2020 11:54:23 +0900 Subject: [PATCH] Fix: Make the dropped item collection range match the world item range limit. --- voxygen/src/session.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voxygen/src/session.rs b/voxygen/src/session.rs index 52421d3975..7f8ecd2370 100644 --- a/voxygen/src/session.rs +++ b/voxygen/src/session.rs @@ -381,7 +381,7 @@ impl PlayState for SessionState { ) .join() .filter(|(_, pos, _)| { - pos.0.distance_squared(player_pos.0) < 3.0 * 3.0 + pos.0.distance_squared(player_pos.0) < MAX_PICKUP_RANGE_SQR }) .min_by_key(|(_, pos, _)| { (pos.0.distance_squared(player_pos.0) * 1000.0) as i32