mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
HUD: draw item box over everything else
This commit is contained in:
parent
4631af55c4
commit
bf20db1e5e
1 changed files with 13 additions and 13 deletions
26
src/k_hud.c
26
src/k_hud.c
|
|
@ -5461,19 +5461,6 @@ void K_drawKartHUD(void)
|
||||||
K_drawKartMinimap();
|
K_drawKartMinimap();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw the item window
|
|
||||||
if (LUA_HudEnabled(hud_item) && !freecam)
|
|
||||||
{
|
|
||||||
if (stplyr->itemRoulette.ringbox && stplyr->itemamount == 0 && stplyr->itemtype == 0)
|
|
||||||
{
|
|
||||||
K_drawKartSlotMachine();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
K_drawKartItem();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (demo.title)
|
if (demo.title)
|
||||||
;
|
;
|
||||||
else if (!r_splitscreen)
|
else if (!r_splitscreen)
|
||||||
|
|
@ -5587,6 +5574,19 @@ void K_drawKartHUD(void)
|
||||||
if (LUA_HudEnabled(hud_position))
|
if (LUA_HudEnabled(hud_position))
|
||||||
K_drawInput();
|
K_drawInput();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Draw the item window
|
||||||
|
if (LUA_HudEnabled(hud_item) && !freecam)
|
||||||
|
{
|
||||||
|
if (stplyr->itemRoulette.ringbox && stplyr->itemamount == 0 && stplyr->itemtype == 0)
|
||||||
|
{
|
||||||
|
K_drawKartSlotMachine();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
K_drawKartItem();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue