From 49f0b31db7336a9844c8bd5eecaef0670adf57cf Mon Sep 17 00:00:00 2001 From: James R Date: Thu, 11 Jan 2024 22:03:10 -0800 Subject: [PATCH] Battle: do not decrease flashing tics in the air --- src/p_user.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/p_user.c b/src/p_user.c index 9fb1d06b4..f6d774cd2 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -4412,7 +4412,9 @@ void P_PlayerThink(player_t *player) // Strength counts up to diminish fade. 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--; }