mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
allow CTF spawns in GTR_TEAMS gametype rule
This commit is contained in:
parent
0accadf02f
commit
019e52a4f4
1 changed files with 1 additions and 1 deletions
|
@ -2574,7 +2574,7 @@ void G_SpawnPlayer(INT32 playernum, boolean starpost)
|
|||
|
||||
// -- CTF --
|
||||
// Order: CTF->DM->Coop
|
||||
if ((gametyperules & GTR_TEAMFLAGS) && players[playernum].ctfteam)
|
||||
if ((gametyperules & (GTR_TEAMFLAGS|GTR_TEAMS)) && players[playernum].ctfteam)
|
||||
{
|
||||
if (!(spawnpoint = G_FindCTFStart(playernum)) // find a CTF start
|
||||
&& !(spawnpoint = G_FindMatchStart(playernum))) // find a DM start
|
||||
|
|
Loading…
Reference in a new issue