mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-31 10:46:40 +00:00
Power-ups: always give player consistent hitlag on collect, even if they are near MAXHITLAGTICS
This commit is contained in:
parent
80a65cd61f
commit
54240ac96b
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ void K_GivePowerUp(player_t* player, kartitems_t powerup, tic_t time)
|
|||
|
||||
S_StartSound(NULL, sfx_gsha7l);
|
||||
player->flashing = 2*TICRATE;
|
||||
K_AddHitLag(player->mo, BATTLE_POWERUP_VFX_TIME, false);
|
||||
player->mo->hitlag += BATTLE_POWERUP_VFX_TIME;
|
||||
player->powerupVFXTimer = BATTLE_POWERUP_VFX_TIME;
|
||||
Obj_SpawnPowerUpSpinner(player->mo, powerup, BATTLE_POWERUP_VFX_TIME);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue