Fix out of bounds iteration in backtrack aimbot
This commit is contained in:
parent
24ff58ffa5
commit
d0165650e2
@ -1262,7 +1262,7 @@ int BestHitbox(CachedEntity *target)
|
||||
|
||||
// Then check the rest
|
||||
if (*backtrackVischeckAll)
|
||||
for (int j = head; j < foot_R + 1; j++)
|
||||
for (int j = head; j < foot_R; j++)
|
||||
{
|
||||
if (IsEntityVectorVisible(target, (*data).hitboxes[j].center))
|
||||
return j;
|
||||
|
Reference in New Issue
Block a user