mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
E-brake leniency in TA starts only
This commit is contained in:
parent
c7b3a49c85
commit
da6b6abb03
1 changed files with 10 additions and 3 deletions
|
|
@ -4128,6 +4128,13 @@ SINT8 K_GetForwardMove(const player_t *player)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Prevent 1-tic movment when missing same-frame E-brake shortcut trying to TA spindash
|
||||||
|
// (Movement starts the timer in TA, so this is the only context where this matters)
|
||||||
|
if (G_TimeAttackStart() && leveltime < starttime && (player->oldcmd.buttons & BT_EBRAKEMASK) == 0)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (player->sneakertimer || player->panelsneakertimer || player->weaksneakertimer || player->spindashboost
|
if (player->sneakertimer || player->panelsneakertimer || player->weaksneakertimer || player->spindashboost
|
||||||
|| (((gametyperules & (GTR_ROLLINGSTART|GTR_CIRCUIT)) == (GTR_ROLLINGSTART|GTR_CIRCUIT)) && (leveltime < TICRATE/2)))
|
|| (((gametyperules & (GTR_ROLLINGSTART|GTR_CIRCUIT)) == (GTR_ROLLINGSTART|GTR_CIRCUIT)) && (leveltime < TICRATE/2)))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue