mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 17:22:12 +00:00
Make sure that B_CheckRespawn can be called even if Tails is dead
This commit is contained in:
parent
e36193e44e
commit
a25f4b8194
1 changed files with 5 additions and 2 deletions
|
@ -8688,8 +8688,11 @@ void P_PlayerThink(player_t *player)
|
|||
|
||||
if (player->bot)
|
||||
{
|
||||
if (player->playerstate == PST_LIVE && B_CheckRespawn(player))
|
||||
if (player->playerstate == PST_LIVE || player->playerstate == PST_DEAD)
|
||||
{
|
||||
if (B_CheckRespawn(player))
|
||||
player->playerstate = PST_REBORN;
|
||||
}
|
||||
if (player->playerstate == PST_REBORN)
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue