move the final command line stuff to AFTER all the subsystems have been

initialised.
This commit is contained in:
Bill Currie 2001-01-01 18:00:06 +00:00
parent b439951184
commit ff89f60c74

View file

@ -1687,11 +1687,6 @@ Host_Init (void)
V_Init_Cvars (); V_Init_Cvars ();
VID_Init_Cvars (); VID_Init_Cvars ();
// Reparse the command line for + commands.
// (Note, no non-base commands exist yet)
Cmd_StuffCmds_f ();
Cbuf_Execute ();
cl_Cmd_Init (); cl_Cmd_Init ();
V_Init (); V_Init ();
COM_Init (); COM_Init ();
@ -1744,6 +1739,11 @@ Host_Init (void)
IN_Init (); IN_Init ();
#endif #endif
// Reparse the command line for + commands.
// (Note, no non-base commands exist yet)
Cmd_StuffCmds_f ();
Cbuf_Execute ();
Cbuf_InsertText ("exec quake.rc\n"); Cbuf_InsertText ("exec quake.rc\n");
Cbuf_AddText Cbuf_AddText
("echo Type connect <internet address> or use a server browser to connect to a game.\n"); ("echo Type connect <internet address> or use a server browser to connect to a game.\n");