From bf17714de8f7903d24392d1284a53bcf6dde8764 Mon Sep 17 00:00:00 2001 From: Yimura Date: Wed, 3 Feb 2021 16:38:00 +0100 Subject: [PATCH] fix(CustomGuns): Increased distance from 50 to 500 --- BigBaseV2/src/features/looped/custom_guns/delete_gun.cpp | 2 +- BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BigBaseV2/src/features/looped/custom_guns/delete_gun.cpp b/BigBaseV2/src/features/looped/custom_guns/delete_gun.cpp index 7785fdbf..f5f90244 100644 --- a/BigBaseV2/src/features/looped/custom_guns/delete_gun.cpp +++ b/BigBaseV2/src/features/looped/custom_guns/delete_gun.cpp @@ -37,7 +37,7 @@ namespace big Vector3 entLoc = ENTITY::GET_ENTITY_COORDS(entity, true); double dist = functions::distance_between_vectors(player, entLoc); - if (dist > 50) + if (dist > 500) { notify::above_map("Entity is too far."); } diff --git a/BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp b/BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp index 3ab214af..942ce7de 100644 --- a/BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp +++ b/BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp @@ -47,7 +47,7 @@ namespace big other = ENTITY::GET_ENTITY_COORDS(entity, true); dist = (float)functions::distance_between_vectors(location, other); - if (dist > 50) + if (dist > 500) { entity = 0;