CLIENT: Prevent crosshair when zoom is 1

This commit is contained in:
cypress 2023-10-16 18:09:49 -04:00 committed by GitHub
parent 7b0c11586a
commit 979611e9e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1156,7 +1156,7 @@ void() Draw_Crosshair =
}
float crosshair_value = cvar("crosshair");
if (!crosshair_value)
if (!crosshair_value || getstatf(STAT_WEAPONZOOM) == 1)
return;
if (!crosshair_opacity)