Decrease spinouttimer every other tic in lightsnake, to a minimum of 1 to still prevent drop dashing

Resolves #309.
This commit is contained in:
toaster 2023-01-06 13:30:34 +00:00
parent 1213836564
commit 5e4a715394

View file

@ -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)