mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix missing timer definition, unset player speed when unfaulting
This commit is contained in:
parent
101db619e6
commit
dfdfef3355
2 changed files with 3 additions and 0 deletions
|
|
@ -581,6 +581,8 @@ struct player_t
|
|||
|
||||
tic_t ebrakefor; // Ebrake timer, used for visuals.
|
||||
|
||||
UINT16 faulttimer; // Used for misc FAULT visuals
|
||||
|
||||
UINT32 roundscore; // battle score this round
|
||||
UINT8 emeralds;
|
||||
UINT8 bumpers;
|
||||
|
|
|
|||
|
|
@ -1916,6 +1916,7 @@ static void K_HandleLapIncrement(player_t *player)
|
|||
player->mo->flags |= MF_NOCLIPTHING;
|
||||
player->nocontrol = 69;
|
||||
player->hyudorotimer = 69;
|
||||
player->speed = 0;
|
||||
K_StripItems(player);
|
||||
player->faulttimer = TICRATE/3;
|
||||
ClearFakePlayerSkin(player);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue