Also tick (almost) all karthud array timers even during hitlag
Only exception is timers relating to ring usage, as that's intended to signify ring boost power (which is obviously paused during hitlag)
This commit is contained in:
parent
50721175ce
commit
6ab7b3e6c3
2 changed files with 2 additions and 4 deletions
|
|
@ -6319,9 +6319,8 @@ void K_KartPlayerHUDUpdate(player_t *player)
|
|||
if (player->karthud[khud_tauntvoices])
|
||||
player->karthud[khud_tauntvoices]--;
|
||||
|
||||
if (gametype == GT_RACE)
|
||||
if (gametyperules & GTR_RINGS)
|
||||
{
|
||||
|
||||
if ((K_RingsActive() == true))
|
||||
{
|
||||
if (player->pflags & PF_RINGLOCK)
|
||||
|
|
@ -7346,8 +7345,6 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
|
||||
K_UpdateTripwire(player);
|
||||
|
||||
K_KartPlayerHUDUpdate(player);
|
||||
|
||||
if (P_IsObjectOnGround(player->mo))
|
||||
player->waterskip = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -753,6 +753,7 @@ void P_Ticker(boolean run)
|
|||
if (playeringame[i] && players[i].mo && !P_MobjWasRemoved(players[i].mo))
|
||||
{
|
||||
P_PlayerThink(&players[i]);
|
||||
K_KartPlayerHUDUpdate(&players[i]);
|
||||
|
||||
if (!players[i].spectator)
|
||||
p++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue