Merge branch 'spectator-is-it' into 'next'

Don't get chosen as the tagger if you're a spectator

See merge request STJr/SRB2!815
This commit is contained in:
Jaime Passos 2020-02-23 20:37:27 -05:00
commit ebafd4b2c6
1 changed files with 1 additions and 1 deletions

View File

@ -3096,7 +3096,7 @@ static void P_InitTagGametype(void)
//Also, you'd never have to loop through all 32 players slots to find anything ever again.
for (i = 0; i < MAXPLAYERS; i++)
{
if (playeringame[i] && !(players[i].spectator && players[i].quittime))
if (playeringame[i] && !(players[i].spectator || players[i].quittime))
{
playersactive[realnumplayers] = i; //stores the player's node in the array.
realnumplayers++;