From fcb37a75da9b768869d7bf87b4c723ca7df100de Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 9 Sep 2024 15:58:36 +0200 Subject: [PATCH] make this less complicated lol --- src/st_stuff.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/st_stuff.c b/src/st_stuff.c index 0a675b060..f9cad4d08 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -661,10 +661,11 @@ static void ST_overlayDrawer(void) snprintf(directortext, 20, "Director: %s", cv_director.value ? "On" : "Off"); - if (directortoggletimer < (I_GetTime() + 40 * TICRATE) % I_GetTime()) + if (directortoggletimer < 4*TICRATE) { V_DrawString(1, BASEVIDHEIGHT-8-1, V_SNAPTOLEFT|V_SNAPTOBOTTOM|V_HUDTRANSHALF|V_ALLOWLOWERCASE, directortext); - directortoggletimer++; + if (renderisnewtic) + directortoggletimer++; } else if (cv_translucenthud.value != 0) V_DrawString(1, BASEVIDHEIGHT-8-1, V_SNAPTOLEFT|V_SNAPTOBOTTOM|V_80TRANS|V_ALLOWLOWERCASE, directortext); // idk if V_80TRANS is good?