mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
wait for respawn timer to reach 0
This commit is contained in:
parent
d198bc73e9
commit
f907292383
1 changed files with 1 additions and 1 deletions
|
|
@ -4551,7 +4551,7 @@ void P_PlayerThink(player_t *player)
|
||||||
}
|
}
|
||||||
|
|
||||||
// tic down the var normaly and remove the flag upon respawn so its guaranteed to be removed from the player
|
// tic down the var normaly and remove the flag upon respawn so its guaranteed to be removed from the player
|
||||||
if (!player->nocontrol && player->respawn.state == RESPAWNST_DROP && (player->pflags & PF_FAULT))
|
if (!player->nocontrol && !player->respawn.timer && player->respawn.state == RESPAWNST_DROP && (player->pflags & PF_FAULT))
|
||||||
{
|
{
|
||||||
player->pflags &= ~PF_FAULT;
|
player->pflags &= ~PF_FAULT;
|
||||||
player->mo->renderflags &= ~RF_DONTDRAW;
|
player->mo->renderflags &= ~RF_DONTDRAW;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue