Merge branch 'tails-bot-dead-forever-fix' into 'next'
Tails bot dead forever fix See merge request STJr/SRB2!461
This commit is contained in:
commit
d44cb36d53
|
@ -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)
|
||||||
|
{
|
||||||
|
if (B_CheckRespawn(player))
|
||||||
player->playerstate = PST_REBORN;
|
player->playerstate = PST_REBORN;
|
||||||
|
}
|
||||||
if (player->playerstate == PST_REBORN)
|
if (player->playerstate == PST_REBORN)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue