mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Futureproof loss-of-control check
This commit is contained in:
parent
3bc5fac430
commit
849dd2926f
1 changed files with 1 additions and 1 deletions
|
|
@ -7566,7 +7566,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
player->justDI--;
|
||||
|
||||
// return turning if player is fully actionable, no matter when!
|
||||
if (!player->spinouttimer && player->mo->state != &states[S_KART_SPINOUT])
|
||||
if (!P_PlayerInPain(player))
|
||||
player->justDI = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue