From 4c8f66d698cf83385c87fc009db5d784bde8d84f Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 4 Jul 2025 12:07:46 +0200 Subject: [PATCH] oop lmao --- src/k_hud.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/k_hud.c b/src/k_hud.c index 8e5b97477..4fc50999b 100644 --- a/src/k_hud.c +++ b/src/k_hud.c @@ -1976,8 +1976,8 @@ static void K_DrawKartPositionNum(INT32 num) if ((cv_posanim.value && stplyr->kartstuff[k_positiondelay]) || stplyr->exiting) { - const UINT8 delay = (stplyr->exiting) ? POS_DELAY_TIME : stplyr->positiondelay; - const fixed_t add = (scale * 3) >> ((r_splitscreen == 1) ? 1 : 2); + const UINT8 delay = (stplyr->exiting) ? POS_DELAY_TIME : stplyr->kartstuff[k_positiondelay]; + const fixed_t add = (scale * 3) >> ((splitscreen == 1) ? 1 : 2); scale = cv_smoothposition.value ? scale + min((add * (delay * delay)) / (POS_DELAY_TIME * POS_DELAY_TIME), add) : scale*2; overtake = true; // this is used for splitscreen stuff in conjunction with flipdraw. }