From 231667173316a518ae27532540dadd2a3c0305c2 Mon Sep 17 00:00:00 2001 From: "James R." Date: Mon, 11 Sep 2023 02:35:17 -0700 Subject: [PATCH] K_drawKartMinimap: let minimap fade in relative to st_translucency - Fixes progression bar sometimes not appearing in Sealed Stars. - Matches timing of V_SLIDEIN. --- src/k_hud.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/k_hud.c b/src/k_hud.c index b8734468c..9b506e1b5 100644 --- a/src/k_hud.c +++ b/src/k_hud.c @@ -3948,12 +3948,7 @@ static void K_drawKartMinimap(void) if (dofade) { - const tic_t length = TICRATE/2; - - if (!lt_exitticker) - return; - if (lt_exitticker < length) - minimaptrans = (((INT32)lt_exitticker)*minimaptrans)/((INT32)length); + minimaptrans = FixedMul(minimaptrans, (st_translucency * FRACUNIT) / 10); if (!minimaptrans) return;