mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'tripwire-speed-reflect' into 'master'
Lower tripwire unstuck threshold (faster) See merge request kart-krew-dev/ring-racers-internal!2967
This commit is contained in:
commit
c9dce813e3
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