From bf20db1e5e1f1a7ef702e5b7383343a583741ad5 Mon Sep 17 00:00:00 2001 From: "James R." Date: Sun, 1 Oct 2023 17:44:58 -0700 Subject: [PATCH] HUD: draw item box over everything else --- src/k_hud.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/k_hud.c b/src/k_hud.c index c16b7b1a7..40164b612 100644 --- a/src/k_hud.c +++ b/src/k_hud.c @@ -5461,19 +5461,6 @@ void K_drawKartHUD(void) 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) ; else if (!r_splitscreen) @@ -5587,6 +5574,19 @@ void K_drawKartHUD(void) if (LUA_HudEnabled(hud_position)) 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(); + } + } } }