Update AutoBackstab.cpp

cuz latency but 45 is a little low so let's just use 50
This commit is contained in:
LightCat 2018-08-10 22:57:56 +02:00 committed by GitHub
parent c033949743
commit f635e21eb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ bool unifiedCanBackstab(Vector &vecAngle, Vector min, Vector max,
// Get melee range
float meleeRange = re::C_TFWeaponBaseMelee::GetSwingRange(RAW_ENT(LOCAL_W));
if (fabsf(vecAngle.y -
NET_VECTOR(RAW_ENT(besttarget), netvar.m_angEyeAngles).y) >= 60)
NET_VECTOR(RAW_ENT(besttarget), netvar.m_angEyeAngles).y) >= 50)
return false;
if (!min.x && !max.x)
return false;