Don't warn about missing CTF starts if the gametype doesn't have team flags.
This commit is contained in:
parent
b740daf5bf
commit
5b4d587b1a
|
@ -2720,7 +2720,7 @@ mapthing_t *G_FindCTFStart(INT32 playernum)
|
||||||
|
|
||||||
if (!numredctfstarts && !numbluectfstarts) //why even bother, eh?
|
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"));
|
CONS_Alert(CONS_WARNING, M_GetText("No CTF starts in this map!\n"));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue