mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-26 04:51:43 +00:00
Decrease spinouttimer every other tic in lightsnake, to a minimum of 1 to still prevent drop dashing
Resolves #309.
This commit is contained in:
parent
1213836564
commit
5e4a715394
1 changed files with 4 additions and 1 deletions
|
|
@ -7596,9 +7596,12 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
|
||||
if (player->spinouttimer)
|
||||
{
|
||||
if ((P_IsObjectOnGround(player->mo)
|
||||
if (((P_IsObjectOnGround(player->mo)
|
||||
|| ( player->spinouttype & KSPIN_AIRTIMER ))
|
||||
&& (!player->sneakertimer))
|
||||
|| (player->respawn.state != RESPAWNST_NONE
|
||||
&& player->spinouttimer > 1
|
||||
&& (leveltime & 1)))
|
||||
{
|
||||
player->spinouttimer--;
|
||||
if (player->wipeoutslow > 1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue