From a23c62e60e337a802ad5879606d56177c64bf0ac Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Sun, 28 Oct 2018 13:52:25 -0400 Subject: [PATCH] Move lap animation up slightly (I'm not gonna remember to do this later either) --- src/k_kart.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/k_kart.c b/src/k_kart.c index e47f3baf..07ef148b 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -7360,38 +7360,38 @@ static void K_drawLapStartAnim(void) const UINT8 progress = 80-stplyr->kartstuff[k_lapanimation]; V_DrawScaledPatch(BASEVIDWIDTH/2 + (32*max(0, stplyr->kartstuff[k_lapanimation]-76)), - 64 - (32*max(0, progress-76)), + 56 - (32*max(0, progress-76)), 0, kp_lapanim_emblem); if (stplyr->laps == (UINT8)(cv_numlaps.value - 1)) { V_DrawScaledPatch(27 - (32*max(0, progress-76)), - 40, + 32, 0, kp_lapanim_final[min(progress/2, 10)]); if (progress/2-12 >= 0) { V_DrawScaledPatch(194 + (32*max(0, progress-76)), - 40, + 32, 0, kp_lapanim_lap[min(progress/2-12, 6)]); } } else { V_DrawScaledPatch(61 - (32*max(0, progress-76)), - 40, + 32, 0, kp_lapanim_lap[min(progress/2, 6)]); if (progress/2-8 >= 0) { V_DrawScaledPatch(194 + (32*max(0, progress-76)), - 40, + 32, 0, kp_lapanim_number[(((UINT32)stplyr->laps+1) / 10)][min(progress/2-8, 2)]); if (progress/2-10 >= 0) { V_DrawScaledPatch(221 + (32*max(0, progress-76)), - 40, + 32, 0, kp_lapanim_number[(((UINT32)stplyr->laps+1) % 10)][min(progress/2-10, 2)]); } }