Attempt to fix flipover wrongdrift
This commit is contained in:
parent
3f6736b47e
commit
4ba5fa5ef3
1 changed files with 9 additions and 2 deletions
11
src/k_kart.c
11
src/k_kart.c
|
|
@ -9461,8 +9461,15 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
|
||||
if (P_PlayerInPain(player) || player->speed < minspeed)
|
||||
{
|
||||
player->drift = player->driftcharge = player->aizdriftstrat = 0;
|
||||
player->pflags &= ~(PF_BRAKEDRIFT|PF_GETSPARKS);
|
||||
if (player->flipovertimer == 0)
|
||||
{
|
||||
player->drift = player->driftcharge = player->aizdriftstrat = 0;
|
||||
player->pflags &= ~(PF_BRAKEDRIFT|PF_GETSPARKS);
|
||||
}
|
||||
else
|
||||
{
|
||||
player->driftcharge = player->aizdriftstrat = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if ( (!(player->sneakertimer || player->flamestore || player->bubbleboost || K_OtherSliptideCondition(player)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue