This commit is contained in:
TehRealSalt 2018-06-17 20:26:13 -04:00
parent 2497d9c96c
commit e2f60d56d2

View file

@ -2427,7 +2427,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
if (player->kartstuff[k_spinout] && P_IsObjectOnGround(player->mo))
player->kartstuff[k_spinout]--;
if (player->kartstuff[k_spinouttimer] && P_IsObjectOnGround(player->mo))
if (player->kartstuff[k_spinouttimer] && (P_IsObjectOnGround(player->mo) || player->kartstuff[k_spinouttype]))
player->kartstuff[k_spinouttimer]--;
else if (!comeback)
player->kartstuff[k_comebacktimer] = comebacktime;
@ -2444,7 +2444,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
if (player->kartstuff[k_attractiontimer])
player->kartstuff[k_attractiontimer]--;
if (player->kartstuff[k_sneakertimer] && P_IsObjectOnGround(player->mo))
if (player->kartstuff[k_sneakertimer] && (P_IsObjectOnGround(player->mo) && !player->kartstuff[k_spinouttimer]))
player->kartstuff[k_sneakertimer]--;
if (player->kartstuff[k_floorboost])