mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-27 16:01:17 +00:00
Don't force SPB in 1v1
This commit is contained in:
parent
2ddb6cd082
commit
54516aeee9
1 changed files with 4 additions and 0 deletions
|
|
@ -1057,6 +1057,10 @@ static void K_KartItemRoulette(player_t *player, ticcmd_t *cmd)
|
|||
bestbumper = players[i].kartstuff[k_bumper];
|
||||
}
|
||||
|
||||
// No forced SPB in 1v1s, it has to be randomly rolled
|
||||
if (pingame <= 2)
|
||||
dontforcespb = true;
|
||||
|
||||
// This makes the roulette produce the random noises.
|
||||
if ((player->kartstuff[k_itemroulette] % 3) == 1 && P_IsDisplayPlayer(player))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue