From 1d40d8c4ef96954172f09b9dcde370a489a21bf8 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 37db6085e..6a0ace9ac 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -668,10 +668,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?