Don't skip spectators when searching for Podium starts

There shouldn't be any spectators in Podium anyway. But
there are if you come here from a Sealed Star because bots
get spectated in those. The bots are still spectators
until they spawn (after G_FindPodiumStart).
This commit is contained in:
James R 2023-03-05 00:41:20 -08:00
parent b84383bd8d
commit 2ebf8ebb8c

View file

@ -2940,15 +2940,9 @@ mapthing_t *G_FindPodiumStart(INT32 playernum)
UINT8 i;
UINT8 pos = 0;
// SRB2Kart: figure out player spawn pos from points
if (!playeringame[playernum] || players[playernum].spectator)
{
return playerstarts[0]; // go to first spot if you're a spectator
}
for (i = 0; i < MAXPLAYERS; i++)
{
if (!playeringame[i] || players[i].spectator)
if (!playeringame[i])
{
continue;
}