mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-03 20:26:05 +00:00
Do not run any thing collision for respawning players whatsoever
Adds MF_NOCLIPTHING to players while respawning.
This commit is contained in:
parent
2dd29dd15f
commit
6b02836c22
1 changed files with 4 additions and 0 deletions
|
|
@ -283,6 +283,8 @@ void K_DoIngameRespawn(player_t *player)
|
|||
|
||||
player->respawn.airtimer = player->airtime;
|
||||
player->respawn.truedeath = !!(player->pflags & PF_FAULT);
|
||||
|
||||
player->mo->flags |= MF_NOCLIPTHING;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------
|
||||
|
|
@ -790,6 +792,8 @@ static void K_HandleDropDash(player_t *player)
|
|||
P_PlayerRingBurst(player, 3);
|
||||
|
||||
player->respawn.state = RESPAWNST_NONE;
|
||||
|
||||
player->mo->flags &= ~(MF_NOCLIPTHING);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue