This sucks

This commit is contained in:
Antonio Martinez 2025-07-01 15:47:06 -04:00
parent 78b499cc76
commit 7f01e4597b

View file

@ -7700,16 +7700,17 @@ void K_drawKartHUD(void)
} }
} }
// This sucks, but we need to draw rings before EXP because 4P amps
// are fuckhuge and cover gameplay info if we don't.
// Propagate any changes below.
if (LUA_HudEnabled(hud_gametypeinfo)) if (LUA_HudEnabled(hud_gametypeinfo))
{ {
if (gametyperules & GTR_CIRCUIT && !K_InRaceDuel()) if (gametyperules & GTR_CIRCUIT && !K_InRaceDuel())
{ {
K_drawKartLaps();
gametypeinfoshown = true; gametypeinfoshown = true;
} }
else if (gametyperules & GTR_BUMPERS) else if (gametyperules & GTR_BUMPERS)
{ {
K_drawKartBumpersOrKarma();
gametypeinfoshown = true; gametypeinfoshown = true;
} }
} }
@ -7733,6 +7734,23 @@ void K_drawKartHUD(void)
K_drawRingCounter(gametypeinfoshown); K_drawRingCounter(gametypeinfoshown);
} }
// This sucks, but we need to draw rings before EXP because 4P amps
// are fuckhuge and cover gameplay info if we don't.
// Propagate any changes above.
if (LUA_HudEnabled(hud_gametypeinfo))
{
if (gametyperules & GTR_CIRCUIT && !K_InRaceDuel())
{
K_drawKartLaps();
gametypeinfoshown = true;
}
else if (gametyperules & GTR_BUMPERS)
{
K_drawKartBumpersOrKarma();
gametypeinfoshown = true;
}
}
// Draw the item window // Draw the item window
if (LUA_HudEnabled(hud_item) && !freecam) if (LUA_HudEnabled(hud_item) && !freecam)
{ {