mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
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:
parent
b84383bd8d
commit
2ebf8ebb8c
1 changed files with 1 additions and 7 deletions
|
|
@ -2940,15 +2940,9 @@ mapthing_t *G_FindPodiumStart(INT32 playernum)
|
||||||
UINT8 i;
|
UINT8 i;
|
||||||
UINT8 pos = 0;
|
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++)
|
for (i = 0; i < MAXPLAYERS; i++)
|
||||||
{
|
{
|
||||||
if (!playeringame[i] || players[i].spectator)
|
if (!playeringame[i])
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue