From dd0b9a97fcc4c1cce7ea1df0c6b03bbfc8107abc Mon Sep 17 00:00:00 2001 From: Antonio Martinez Date: Wed, 25 Jun 2025 14:59:22 -0400 Subject: [PATCH] Longer bufo invinc, decreases always --- src/k_powerup.cpp | 2 +- src/p_user.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/k_powerup.cpp b/src/k_powerup.cpp index 2efd94b84..bf3cad8ed 100644 --- a/src/k_powerup.cpp +++ b/src/k_powerup.cpp @@ -65,7 +65,7 @@ void K_GivePowerUp(player_t* player, kartitems_t powerup, tic_t time) } S_StartSound(NULL, sfx_gsha7l); - player->flashing = 2*TICRATE; + player->flashing = 3*TICRATE; player->mo->hitlag += BATTLE_POWERUP_VFX_TIME; player->powerupVFXTimer = BATTLE_POWERUP_VFX_TIME; Obj_SpawnPowerUpSpinner(player->mo, powerup, BATTLE_POWERUP_VFX_TIME); diff --git a/src/p_user.c b/src/p_user.c index 74a4be388..019050b9b 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -4564,9 +4564,7 @@ void P_PlayerThink(player_t *player) // Strength counts up to diminish fade. if (player->flashing && player->flashing < UINT16_MAX && - (player->spectator || !P_PlayerInPain(player)) && - // Battle: flashing tics do not decrease in the air - (!(gametyperules & GTR_BUMPERS) || P_IsObjectOnGround(player->mo))) + (player->spectator || !P_PlayerInPain(player))) { player->flashing--; }