mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 10:52:23 +00:00
GTR_NOTITLECARD
This commit is contained in:
parent
61cad09505
commit
ec8682b2af
3 changed files with 3 additions and 1 deletions
|
@ -8876,6 +8876,7 @@ static const char *const GAMETYPERULE_LIST[] = {
|
|||
"SPAWNENEMIES",
|
||||
"ALLOWEXIT",
|
||||
"ROUNDENDMESSAGE",
|
||||
"NOTITLECARD",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
@ -415,6 +415,7 @@ enum GameTypeRules
|
|||
GTR_SPAWNENEMIES = 1<<18, // Spawn enemies
|
||||
GTR_ALLOWEXIT = 1<<19, // Allow exit sectors
|
||||
GTR_ROUNDENDMESSAGE = 1<<20, // Prints "The round has ended." into the console
|
||||
GTR_NOTITLECARD = 1<<21, // Don't show the title card
|
||||
};
|
||||
|
||||
// String names for gametypes
|
||||
|
|
|
@ -1809,7 +1809,7 @@ void G_StartTitleCard(void)
|
|||
|
||||
// The title card has been disabled for this map.
|
||||
// Oh well.
|
||||
if (mapheaderinfo[gamemap-1]->levelflags & LF_NOTITLECARD)
|
||||
if ((mapheaderinfo[gamemap-1]->levelflags & LF_NOTITLECARD) || (gametyperules & GTR_NOTITLECARD))
|
||||
{
|
||||
WipeStageTitle = false;
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue