mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Block disabling Kickstart Accel during Tricks and when pressing Spindash
This commit is contained in:
parent
8326292a3f
commit
56e179e220
1 changed files with 5 additions and 5 deletions
|
|
@ -4255,7 +4255,7 @@ void P_PlayerThink(player_t *player)
|
||||||
}
|
}
|
||||||
else if (cmd->buttons & BT_ACCELERATE)
|
else if (cmd->buttons & BT_ACCELERATE)
|
||||||
{
|
{
|
||||||
if (!player->exiting && !(player->oldcmd.buttons & BT_ACCELERATE))
|
if (!player->exiting && !(player->oldcmd.buttons & BT_ACCELERATE) && ((cmd->buttons & BT_SPINDASHMASK) != BT_SPINDASHMASK) && player->trickpanel != TRICKSTATE_READY)
|
||||||
{
|
{
|
||||||
player->kickstartaccel = 0;
|
player->kickstartaccel = 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue