mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-25 23:11:20 +00:00
K_ApplyTripWire: do not apply hitlag if player has hyudorotimer
This commit is contained in:
parent
784090ec00
commit
7940158d96
1 changed files with 5 additions and 1 deletions
|
|
@ -4323,7 +4323,11 @@ void K_ApplyTripWire(player_t *player, tripwirestate_t state)
|
|||
}
|
||||
|
||||
player->tripwireState = state;
|
||||
K_AddHitLag(player->mo, 10, false);
|
||||
|
||||
if (player->hyudorotimer <= 0)
|
||||
{
|
||||
K_AddHitLag(player->mo, 10, false);
|
||||
}
|
||||
|
||||
if (state == TRIPSTATE_PASSED && player->spinouttimer &&
|
||||
player->speed > 2 * K_GetKartSpeed(player, false, true))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue