Make sure that B_CheckRespawn can be called even if Tails is dead
This commit is contained in:
parent
e36193e44e
commit
a25f4b8194
|
@ -8688,8 +8688,11 @@ void P_PlayerThink(player_t *player)
|
||||||
|
|
||||||
if (player->bot)
|
if (player->bot)
|
||||||
{
|
{
|
||||||
if (player->playerstate == PST_LIVE && B_CheckRespawn(player))
|
if (player->playerstate == PST_LIVE || player->playerstate == PST_DEAD)
|
||||||
player->playerstate = PST_REBORN;
|
{
|
||||||
|
if (B_CheckRespawn(player))
|
||||||
|
player->playerstate = PST_REBORN;
|
||||||
|
}
|
||||||
if (player->playerstate == PST_REBORN)
|
if (player->playerstate == PST_REBORN)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue