VITA/NX: Allow disabling of crosshair

This commit is contained in:
cypress 2023-10-15 16:08:05 -04:00 committed by GitHub
parent 2ecd4c5e04
commit 6fff93bd6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1538,7 +1538,7 @@ Draw_Crosshair
extern qboolean paused_hack;
void SCR_DrawCrosshair (void)
{
if (cl.stats[STAT_HEALTH] < 20 || paused_hack == true || m_state == m_exit) {
if (paused_hack == true || m_state == m_exit) {
return;
}
@ -1547,6 +1547,9 @@ void SCR_DrawCrosshair (void)
Draw_FillByColor(0, vid.height/2, vid.width, 1, 0, 255, 0, 255);
}
if (!crosshair.value)
return;
float col;
if (sv_player->v.facingenemy == 1) {