From e0983ae009beeca4877e32b65ed4bb732f84ecf0 Mon Sep 17 00:00:00 2001 From: cypress Date: Sun, 15 Oct 2023 16:08:09 -0400 Subject: [PATCH] Allow disabling of crosshair --- source/psp/video_hardware_draw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/psp/video_hardware_draw.cpp b/source/psp/video_hardware_draw.cpp index ad9c72f..4a848ee 100644 --- a/source/psp/video_hardware_draw.cpp +++ b/source/psp/video_hardware_draw.cpp @@ -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; -} \ No newline at end of file +}