fix: aimbot targeting allies
This commit is contained in:
@@ -177,7 +177,8 @@ void Draw() {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
DoAimbot(w2s_neckpos, sqrt(abs(w2s_headpos.y - w2s_neckpos.y)), show_fov, is_visible);
|
if (ent_team != localplayer_team)
|
||||||
|
DoAimbot(w2s_neckpos, sqrt(abs(w2s_headpos.y - w2s_neckpos.y)), show_fov, is_visible);
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
char ent_text[256];
|
char ent_text[256];
|
||||||
|
|||||||
Reference in New Issue
Block a user