From 1f018f8d274750d2e8fc8d8c6a68e16dfe78f25b Mon Sep 17 00:00:00 2001 From: toaster Date: Fri, 7 Apr 2023 18:03:29 +0100 Subject: [PATCH] k_hud.c: Consistently use TC_DEFAULT instead of 0 for R_GetTranslationColormap --- src/k_hud.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/k_hud.c b/src/k_hud.c index ea84a3528..f4261f302 100644 --- a/src/k_hud.c +++ b/src/k_hud.c @@ -3045,7 +3045,7 @@ static void K_drawKartWanted(void) } if (battlewanted[0] != -1) - colormap = R_GetTranslationColormap(0, players[battlewanted[0]].skincolor, GTC_CACHE); + colormap = R_GetTranslationColormap(TC_DEFAULT, players[battlewanted[0]].skincolor, GTC_CACHE); V_DrawFixedPatch(basex< 1 ? kp_wantedsplit : kp_wanted), colormap); /*if (basey2) V_DrawFixedPatch(basex<health <= 0 && (players[i].pflags & PF_NOCONTEST)) { workingPic = kp_nocontestminimap; - colormap = R_GetTranslationColormap(0, mobj->color, GTC_CACHE); + colormap = R_GetTranslationColormap(TC_DEFAULT, mobj->color, GTC_CACHE); if (mobj->tracer && !P_MobjWasRemoved(mobj->tracer)) mobj = mobj->tracer; @@ -4074,7 +4074,7 @@ static void K_drawKartMinimap(void) if (mobj->health <= 0 && (players[localplayers[i]].pflags & PF_NOCONTEST)) { workingPic = kp_nocontestminimap; - colormap = R_GetTranslationColormap(0, mobj->color, GTC_CACHE); + colormap = R_GetTranslationColormap(TC_DEFAULT, mobj->color, GTC_CACHE); if (mobj->tracer && !P_MobjWasRemoved(mobj->tracer)) mobj = mobj->tracer; @@ -4750,7 +4750,7 @@ static void K_drawInput(void) else { UINT8 *colormap; - colormap = R_GetTranslationColormap(0, stplyr->skincolor, GTC_CACHE); + colormap = R_GetTranslationColormap(TC_DEFAULT, stplyr->skincolor, GTC_CACHE); V_DrawFixedPatch(x<