From 52b7ec0a428a164cb938752e1277f4b341203b96 Mon Sep 17 00:00:00 2001 From: Antonio Martinez Date: Fri, 4 Jul 2025 15:16:41 -0400 Subject: [PATCH] Roulette fixup --- src/k_hud.cpp | 2 +- src/k_roulette.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/k_hud.cpp b/src/k_hud.cpp index c70078181..98d497850 100644 --- a/src/k_hud.cpp +++ b/src/k_hud.cpp @@ -1814,7 +1814,7 @@ static void K_drawKartItem(void) } UINT8 *boxmap = NULL; - if (stplyr->itemRoulette.active && (stplyr->itemRoulette.speed - stplyr->itemRoulette.tics < 3) && stplyr->itemRoulette.index == 0 && stplyr->itemRoulette.itemListLen > 1) + if (stplyr->itemRoulette.active && (stplyr->itemRoulette.speed - stplyr->itemRoulette.tics < 3) && stplyr->itemRoulette.index == 0 && stplyr->itemRoulette.itemList.len > 1) { boxmap = R_GetTranslationColormap(TC_ALLWHITE, SKINCOLOR_WHITE, GTC_CACHE); } diff --git a/src/k_roulette.c b/src/k_roulette.c index 7b88c9cac..1421ae1cf 100644 --- a/src/k_roulette.c +++ b/src/k_roulette.c @@ -2042,7 +2042,7 @@ void K_KartItemRoulette(player_t *const player, ticcmd_t *const cmd) else S_StartSound(NULL, sfx_itrol1 + roulette->sound); - if (roulette->index == 0 && roulette->itemListLen > 1) + if (roulette->index == 0 && roulette->itemList.len > 1) { S_StartSound(NULL, sfx_kc50); S_StartSound(NULL, sfx_kc50);