Allow clutching in kickstart accel
This commit is contained in:
parent
36f324db2a
commit
5d3be6db81
1 changed files with 10 additions and 1 deletions
11
src/k_kart.c
11
src/k_kart.c
|
|
@ -3792,7 +3792,16 @@ SINT8 K_GetForwardMove(player_t *player)
|
|||
|
||||
if (K_KartKickstart(player)) // unlike the brute forward of sneakers, allow for backwards easing here
|
||||
{
|
||||
forwardmove = MAXPLMOVE;
|
||||
if (player->cmd.buttons & BT_BRAKE)
|
||||
{
|
||||
// Allow v1 style clutching by holding brake.
|
||||
forwardmove = MAXPLMOVE/2;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Continue as usual.
|
||||
forwardmove = MAXPLMOVE;
|
||||
}
|
||||
}
|
||||
|
||||
if ((player->exiting || mapreset) || player->pflags & PF_STASIS || player->spinouttimer) // pw_introcam?
|
||||
|
|
|
|||
Loading…
Reference in a new issue