Allow disabling of crosshair

This commit is contained in:
cypress 2023-10-15 16:08:13 -04:00 committed by GitHub
parent a05cf67b4b
commit 31d11bb075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1075,7 +1075,7 @@ void Draw_Crosshair (void)
Draw_FillByColor(0, vid.height/2, 400, 1, 0, 255, 0, 255);
}
if (cl.stats[STAT_HEALTH] < 20)
if (!crosshair.value)
return;
if (!crosshair_opacity)