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

This commit is contained in:
Thilo Schulz committed 2016-06-16 03:01:21 +02:00
1 parent 9f6c4942ee
commit bb7ad55382
2 files changed
+8

No files matched your search

+2
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];