Check preferred hitbox first in aimbot with backtrack
this is why i should not use old code
This commit is contained in:
parent
a34416e9ec
commit
d1eadb6999
@ -1253,6 +1253,11 @@ int BestHitbox(CachedEntity *target)
|
||||
|
||||
if (data)
|
||||
{
|
||||
// First check preferred hitbox
|
||||
if (IsEntityVectorVisible(target, (*data).hitboxes[preferred].center))
|
||||
return preferred;
|
||||
|
||||
// Then check the rest
|
||||
if (*backtrackVischeckAll)
|
||||
for (int j = head; j < foot_R + 1; j++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user