mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Battle: do not decrease flashing tics in the air
This commit is contained in:
parent
182df7bf44
commit
49f0b31db7
1 changed files with 3 additions and 1 deletions
|
|
@ -4412,7 +4412,9 @@ void P_PlayerThink(player_t *player)
|
||||||
|
|
||||||
// Strength counts up to diminish fade.
|
// Strength counts up to diminish fade.
|
||||||
if (player->flashing && player->flashing < UINT16_MAX &&
|
if (player->flashing && player->flashing < UINT16_MAX &&
|
||||||
(player->spectator || !P_PlayerInPain(player)))
|
(player->spectator || !P_PlayerInPain(player)) &&
|
||||||
|
// Battle: flashing tics do not decrease in the air
|
||||||
|
(!(gametyperules & GTR_BUMPERS) || P_IsObjectOnGround(player->mo)))
|
||||||
{
|
{
|
||||||
player->flashing--;
|
player->flashing--;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue