From a8d0cda6f70bc6d7b23b25fea87ef746a9c85b7d Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Thu, 27 Jan 2022 08:01:02 +0100 Subject: [PATCH] add back crosshair drawing conditions --- Source/hu_stuff.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Source/hu_stuff.c b/Source/hu_stuff.c index 75d280e1..8909f895 100644 --- a/Source/hu_stuff.c +++ b/Source/hu_stuff.c @@ -915,6 +915,15 @@ static void HU_UpdateCrosshair(void) static void HU_DrawCrosshair(void) { + if (plr->playerstate != PST_LIVE || + automapactive || + menuactive || + paused || + secret_on) + { + return; + } + if (crosshair.patch) V_DrawPatchTranslated(crosshair.x - crosshair.w, crosshair.y - crosshair.h,