mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 10:51:42 +00:00
Roulette fixup
This commit is contained in:
parent
12ab7185e1
commit
52b7ec0a42
2 changed files with 2 additions and 2 deletions
|
|
@ -1814,7 +1814,7 @@ static void K_drawKartItem(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
UINT8 *boxmap = NULL;
|
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);
|
boxmap = R_GetTranslationColormap(TC_ALLWHITE, SKINCOLOR_WHITE, GTC_CACHE);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2042,7 +2042,7 @@ void K_KartItemRoulette(player_t *const player, ticcmd_t *const cmd)
|
||||||
else
|
else
|
||||||
S_StartSound(NULL, sfx_itrol1 + roulette->sound);
|
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);
|
||||||
S_StartSound(NULL, sfx_kc50);
|
S_StartSound(NULL, sfx_kc50);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue