Fix 4P accessibility icons (close enough)

This commit is contained in:
Antonio Martinez 2025-05-27 21:27:55 -04:00
parent da2a1dfd77
commit a333806da4

View file

@ -3718,6 +3718,11 @@ static void K_drawKartTeamScores(void)
*/
}
static boolean K_DrawingLaps()
{
return (numlaps != 1 && !K_InRaceDuel() && (UINT16)stplyr->exp != UINT16_MAX);
}
static boolean K_drawKartLaps(void)
{
INT32 splitflags = V_SNAPTOBOTTOM|V_SNAPTOLEFT|V_SPLITSCREEN;
@ -4157,7 +4162,16 @@ static void K_drawKartAccessibilityIcons(boolean gametypeinfoshown, INT32 fx)
}
else
{
fx = LAPS_X+44;
fx = LAPS_X + 33;
if ((gametyperules & (GTR_BUMPERS|GTR_CIRCUIT)) == GTR_BUMPERS)
fx -= 14;
if (K_DrawingLaps())
{
fx += 30;
}
fy = LAPS_Y;
if (R_GetViewNumber() & 1) // If we are not P1 or P3...
{