mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-21 22:22:32 +00:00
Fuzz fixups
This commit is contained in:
parent
72c2fa645d
commit
f344bbf105
2 changed files with 2 additions and 2 deletions
|
|
@ -5395,7 +5395,7 @@ static void FuzzTiccmd(ticcmd_t* target)
|
|||
target->forwardmove = P_RandomRange(PR_FUZZ, -MAXPLMOVE, MAXPLMOVE);
|
||||
target->turning = P_RandomRange(PR_FUZZ, -KART_FULLTURN, KART_FULLTURN);
|
||||
target->throwdir = P_RandomRange(PR_FUZZ, -KART_FULLTURN, KART_FULLTURN);
|
||||
target->buttons = P_RandomRange(PR_FUZZ, 0, 255);
|
||||
target->buttons = P_RandomRange(PR_FUZZ, 0, 65535);
|
||||
|
||||
// Make fuzzed players more likely to do impactful things
|
||||
if (P_RandomRange(PR_FUZZ, 0, 500))
|
||||
|
|
|
|||
|
|
@ -10599,7 +10599,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
}
|
||||
|
||||
extern consvar_t cv_fuzz;
|
||||
if (cv_fuzz.value && P_CanPickupItem(player, PICKUP_ITEMBOX))
|
||||
if (cv_fuzz.value && player->itemamount == 0 && !player->itemRoulette.active)
|
||||
{
|
||||
K_StartItemRoulette(player, P_RandomRange(PR_FUZZ, 0, 1));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue