mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix line faults doing pflag nonsense
This commit is contained in:
parent
c7374c6a91
commit
6996f06ceb
1 changed files with 2 additions and 1 deletions
|
|
@ -1911,7 +1911,8 @@ static void K_HandleLapIncrement(player_t *player)
|
||||||
{
|
{
|
||||||
// freeze 'em until fault penalty is over
|
// freeze 'em until fault penalty is over
|
||||||
player->mo->hitlag = starttime - leveltime + TICRATE*6;
|
player->mo->hitlag = starttime - leveltime + TICRATE*6;
|
||||||
player->pflags = PF_VOID;
|
P_ResetPlayer(player);
|
||||||
|
player->pflags |= PF_VOID;
|
||||||
player->mo->renderflags |= RF_DONTDRAW;
|
player->mo->renderflags |= RF_DONTDRAW;
|
||||||
player->mo->flags |= MF_NOCLIPTHING;
|
player->mo->flags |= MF_NOCLIPTHING;
|
||||||
player->nocontrol = UINT16_MAX;
|
player->nocontrol = UINT16_MAX;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue