Merge branch 'no-spb-forcing-in-2p' into 'next'

Don't force SPB in 1v1

See merge request KartKrew/Kart-Public!175
This commit is contained in:
Sal 2020-05-20 10:11:19 -04:00
commit 73b65b4725

View file

@ -1061,6 +1061,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) && !demo.freecam)
{