mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
Don't warn about missing CTF starts if the gametype doesn't have team flags.
This commit is contained in:
parent
b740daf5bf
commit
5b4d587b1a
1 changed files with 1 additions and 1 deletions
|
@ -2720,7 +2720,7 @@ mapthing_t *G_FindCTFStart(INT32 playernum)
|
|||
|
||||
if (!numredctfstarts && !numbluectfstarts) //why even bother, eh?
|
||||
{
|
||||
if (playernum == consoleplayer || (splitscreen && playernum == secondarydisplayplayer))
|
||||
if ((gametyperules & GTR_TEAMFLAGS) && (playernum == consoleplayer || (splitscreen && playernum == secondarydisplayplayer)))
|
||||
CONS_Alert(CONS_WARNING, M_GetText("No CTF starts in this map!\n"));
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue