mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-01 04:33:02 +00:00
Lower tripwire unstuck threshold (faster)
This commit is contained in:
parent
add76b17aa
commit
7ac5a45979
1 changed files with 3 additions and 1 deletions
|
|
@ -11125,7 +11125,9 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
if (player->preventfailsafe)
|
||||
player->preventfailsafe--;
|
||||
|
||||
if (player->tripwireUnstuck > 150)
|
||||
UINT8 unstuckthreshold = (onground) ? 80 : 40;
|
||||
|
||||
if (player->tripwireUnstuck > unstuckthreshold)
|
||||
{
|
||||
player->tripwireUnstuck = 0;
|
||||
K_DoIngameRespawn(player);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue