mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-22 20:01:14 +00:00
Speed up spinout based on timer left
This commit is contained in:
parent
7f2090aeae
commit
555fbbe2f5
1 changed files with 1 additions and 1 deletions
|
@ -6657,7 +6657,7 @@ static void P_MovePlayer(player_t *player)
|
||||||
if (player->mo->state != &states[S_KART_SPIN])
|
if (player->mo->state != &states[S_KART_SPIN])
|
||||||
P_SetPlayerMobjState(player->mo, S_KART_SPIN);
|
P_SetPlayerMobjState(player->mo, S_KART_SPIN);
|
||||||
|
|
||||||
player->frameangle -= ANGLE_22h;
|
player->frameangle -= (ANGLE_11hh * min(8, player->kartstuff[k_spinouttimer]/8));
|
||||||
}
|
}
|
||||||
else if (player->powers[pw_nocontrol] && player->pflags & PF_SKIDDOWN)
|
else if (player->powers[pw_nocontrol] && player->pflags & PF_SKIDDOWN)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue