mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
SPB has rainbow item animation when forced onto you
This commit is contained in:
parent
c99b1466ea
commit
54bdea086a
1 changed files with 2 additions and 2 deletions
|
|
@ -1083,11 +1083,11 @@ static void K_KartItemRoulette(player_t *player, ticcmd_t *cmd)
|
||||||
{
|
{
|
||||||
K_KartGetItemResult(player, KITEM_SPB);
|
K_KartGetItemResult(player, KITEM_SPB);
|
||||||
player->karthud[khud_itemblink] = TICRATE;
|
player->karthud[khud_itemblink] = TICRATE;
|
||||||
player->karthud[khud_itemblinkmode] = (mashed ? 1 : 0);
|
player->karthud[khud_itemblinkmode] = 2;
|
||||||
player->itemroulette = 0;
|
player->itemroulette = 0;
|
||||||
player->roulettetype = 0;
|
player->roulettetype = 0;
|
||||||
if (P_IsDisplayPlayer(player))
|
if (P_IsDisplayPlayer(player))
|
||||||
S_StartSound(NULL, (mashed ? sfx_itrolm : sfx_itrolf));
|
S_StartSound(NULL, sfx_itrolk);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue