Merge pull request #103 from openmoh/ioq3-intro
Have custom intro cinematics for standalone game
This commit is contained in:
commit
5555788867
2 changed files with 6 additions and 2 deletions
|
@ -2805,10 +2805,10 @@ void Com_Init( char *commandLine ) {
|
|||
if ( !Com_AddStartupCommands() ) {
|
||||
// if the user didn't give any commands, run default action
|
||||
if ( !com_dedicated->integer ) {
|
||||
Cbuf_AddText ("cinematic idlogo.RoQ\n");
|
||||
Cbuf_AddText ("cinematic " CINEMATICS_LOGO "\n");
|
||||
if( !com_introPlayed->integer ) {
|
||||
Cvar_Set( com_introPlayed->name, "1" );
|
||||
Cvar_Set( "nextmap", "cinematic intro.RoQ" );
|
||||
Cvar_Set( "nextmap", "cinematic " CINEMATICS_INTRO );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue