Only play logo/intro if their filenames have been defined in q_shared.h

This commit is contained in:
Thilo Schulz 2016-06-16 02:30:14 +02:00
parent 9f6c4942ee
commit bb7ad55382
2 changed files with 8 additions and 0 deletions

View file

@ -3222,7 +3222,9 @@ static void UI_RunMenuScript(char **args) {
trap_Cmd_ExecuteText( EXEC_APPEND, "exec default.cfg\n");
trap_Cmd_ExecuteText( EXEC_APPEND, "cvar_restart\n");
Controls_SetDefaults();
#ifdef CINEMATICS_INTRO
trap_Cvar_Set("com_introPlayed", "1" );
#endif
trap_Cmd_ExecuteText( EXEC_APPEND, "vid_restart\n" );
} else if (Q_stricmp(name, "getCDKey") == 0) {
char out[17];