Skip to content
Snippets Groups Projects
Commit 5b4d587b authored by Lactozilla's avatar Lactozilla :speech_balloon:
Browse files

Don't warn about missing CTF starts if the gametype doesn't have team flags.

parent b740daf5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment