mirror of
https://github.com/nzp-team/glquake.git
synced 2024-11-10 06:31:35 +00:00
Allow disabling of crosshair
This commit is contained in:
parent
a05cf67b4b
commit
31d11bb075
1 changed files with 1 additions and 1 deletions
|
@ -1075,7 +1075,7 @@ void Draw_Crosshair (void)
|
||||||
Draw_FillByColor(0, vid.height/2, 400, 1, 0, 255, 0, 255);
|
Draw_FillByColor(0, vid.height/2, 400, 1, 0, 255, 0, 255);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cl.stats[STAT_HEALTH] < 20)
|
if (!crosshair.value)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!crosshair_opacity)
|
if (!crosshair_opacity)
|
||||||
|
|
Loading…
Reference in a new issue