mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-16 17:51:27 +00:00
Fix
This commit is contained in:
parent
2497d9c96c
commit
e2f60d56d2
1 changed files with 2 additions and 2 deletions
|
@ -2427,7 +2427,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
||||||
if (player->kartstuff[k_spinout] && P_IsObjectOnGround(player->mo))
|
if (player->kartstuff[k_spinout] && P_IsObjectOnGround(player->mo))
|
||||||
player->kartstuff[k_spinout]--;
|
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]--;
|
player->kartstuff[k_spinouttimer]--;
|
||||||
else if (!comeback)
|
else if (!comeback)
|
||||||
player->kartstuff[k_comebacktimer] = comebacktime;
|
player->kartstuff[k_comebacktimer] = comebacktime;
|
||||||
|
@ -2444,7 +2444,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
||||||
if (player->kartstuff[k_attractiontimer])
|
if (player->kartstuff[k_attractiontimer])
|
||||||
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]--;
|
player->kartstuff[k_sneakertimer]--;
|
||||||
|
|
||||||
if (player->kartstuff[k_floorboost])
|
if (player->kartstuff[k_floorboost])
|
||||||
|
|
Loading…
Reference in a new issue