0
0
Fork 0
mirror of https://git.do.srb2.org/STJr/SRB2.git synced 2025-04-18 00:11:48 +00:00

Merge branch 'tails-bot-dead-forever-fix' into 'next'

Tails bot dead forever fix

See merge request 
This commit is contained in:
Monster Iestyn 2019-02-27 12:39:56 -05:00
commit d44cb36d53

View file

@ -8688,8 +8688,11 @@ void P_PlayerThink(player_t *player)
if (player->bot)
{
if (player->playerstate == PST_LIVE && B_CheckRespawn(player))
player->playerstate = PST_REBORN;
if (player->playerstate == PST_LIVE || player->playerstate == PST_DEAD)
{
if (B_CheckRespawn(player))
player->playerstate = PST_REBORN;
}
if (player->playerstate == PST_REBORN)
return;
}