fix(CustomGuns): Increased distance from 50 to 500

This commit is contained in:
Yimura 2021-02-03 16:38:00 +01:00
parent 8fb8c1e505
commit bf17714de8
No known key found for this signature in database
GPG Key ID: 54EFAD29393A6E78
2 changed files with 2 additions and 2 deletions

View File

@ -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.");
}

View File

@ -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;