Don't force SPB in 1v1

(cherry picked from commit 22af2040a021cff243773a0f23371f20e69dfca5)
This commit is contained in:
TehRealSalt 2019-10-27 16:44:41 -04:00 committed by Sally Coolatta
parent 1d5774fe2f
commit 21e6190932

View file

@ -1061,6 +1061,10 @@ static void K_KartItemRoulette(player_t *player, ticcmd_t *cmd)
bestbumper = players[i].kartstuff[k_bumper]; 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. // This makes the roulette produce the random noises.
if ((player->kartstuff[k_itemroulette] % 3) == 1 && P_IsDisplayPlayer(player) && !demo.freecam) if ((player->kartstuff[k_itemroulette] % 3) == 1 && P_IsDisplayPlayer(player) && !demo.freecam)
{ {