mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 00:34:32 +00:00
Fix players not being able to turn in certain scenarios
This commit is contained in:
parent
344acfece2
commit
f5788b34e6
1 changed files with 1 additions and 7 deletions
|
|
@ -461,15 +461,9 @@ UINT8 P_FindHighestLap(void)
|
|||
//
|
||||
boolean P_PlayerInPain(player_t *player)
|
||||
{
|
||||
if (player->kartstuff[k_spinouttimer] || player->kartstuff[k_squishedtimer] || player->respawn.state != RESPAWNST_NONE)
|
||||
if (player->kartstuff[k_spinouttimer] || player->kartstuff[k_squishedtimer])
|
||||
return true;
|
||||
|
||||
if (gametyperules & GTR_KARMA)
|
||||
{
|
||||
if (player->kartstuff[k_bumper] <= 0 && player->kartstuff[k_comebacktimer])
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue