mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-07 23:42:40 +00:00
Auto Roulette: stop after 2 seconds max speed
This commit is contained in:
parent
3900189199
commit
b4b09ffd33
1 changed files with 4 additions and 1 deletions
|
|
@ -1602,7 +1602,8 @@ void K_KartItemRoulette(player_t *const player, ticcmd_t *const cmd)
|
|||
}
|
||||
else if (roulette->autoroulette)
|
||||
{
|
||||
confirmItem = (roulette->speed > 15);
|
||||
// confirmItem = (roulette->speed > 15);
|
||||
confirmItem = (roulette->elapsed == TICRATE*2);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1693,8 +1694,10 @@ void K_KartItemRoulette(player_t *const player, ticcmd_t *const cmd)
|
|||
|
||||
roulette->elapsed++;
|
||||
|
||||
/*
|
||||
if (roulette->autoroulette && (roulette->elapsed % 5 == 0) && (roulette->elapsed > TICRATE))
|
||||
roulette->speed++;
|
||||
*/
|
||||
|
||||
if (roulette->tics == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue