From 4efa1198ffee19064b8a4f29ecd3a89c181104dd Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Thu, 13 Jan 2022 20:16:51 +0100 Subject: [PATCH] prevent the total time from moving horizontally when counting up --- Source/wi_stuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/wi_stuff.c b/Source/wi_stuff.c index 91cc4f36..71113537 100644 --- a/Source/wi_stuff.c +++ b/Source/wi_stuff.c @@ -1842,7 +1842,7 @@ static void WI_drawStats(void) // [FG] draw total time alongside level time and par time { - const boolean wide = (cnt_total_time > 61*59) || (SP_TIMEX + SHORT(total->width) >= ORIGWIDTH/4); + const boolean wide = (wbs->totaltimes / TICRATE > 61*59) || (SP_TIMEX + SHORT(total->width) >= ORIGWIDTH/4); V_DrawPatch(SP_TIMEX, SP_TIMEY + 16, FB, total); // [FG] choose x-position depending on width of time string