Allow disabling of crosshair

This commit is contained in:
cypress 2023-10-15 16:08:09 -04:00 committed by GitHub
parent 85b63809fc
commit e0983ae009
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1298,7 +1298,7 @@ void Draw_Crosshair (void)
}
if (cl.stats[STAT_HEALTH] < 20)
if (!crosshair.value)
return;
if (!crosshair_opacity)
@ -3379,4 +3379,4 @@ int GL_LoadTexture8to4(const char *identifier, unsigned int width, unsigned int
free(resamp_data);
return id;
}
}