mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
allow CTF spawns in GTR_TEAMS gametype rule
This commit is contained in:
parent
ad317cd8a2
commit
8bd0fc842f
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…
Add table
Reference in a new issue