mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
move the CL_SetState call to the bottom of Host_Init
This commit is contained in:
parent
edcf092b05
commit
5253030d27
1 changed files with 2 additions and 3 deletions
|
@ -1686,7 +1686,6 @@ Host_Init (void)
|
||||||
|
|
||||||
S_Init ();
|
S_Init ();
|
||||||
|
|
||||||
CL_SetState (ca_disconnected);
|
|
||||||
Sbar_Init ();
|
Sbar_Init ();
|
||||||
CL_Skin_Init ();
|
CL_Skin_Init ();
|
||||||
CL_Init ();
|
CL_Init ();
|
||||||
|
@ -1698,14 +1697,12 @@ Host_Init (void)
|
||||||
|
|
||||||
S_Init ();
|
S_Init ();
|
||||||
|
|
||||||
CL_SetState (ca_disconnected);
|
|
||||||
CDAudio_Init ();
|
CDAudio_Init ();
|
||||||
Sbar_Init ();
|
Sbar_Init ();
|
||||||
CL_Skin_Init ();
|
CL_Skin_Init ();
|
||||||
CL_Init ();
|
CL_Init ();
|
||||||
IN_Init ();
|
IN_Init ();
|
||||||
#endif
|
#endif
|
||||||
CL_SetState (ca_disconnected);
|
|
||||||
|
|
||||||
Cbuf_InsertText ("exec quake.rc\n");
|
Cbuf_InsertText ("exec quake.rc\n");
|
||||||
Cmd_Exec_File (fs_usercfg->string);
|
Cmd_Exec_File (fs_usercfg->string);
|
||||||
|
@ -1724,6 +1721,8 @@ Host_Init (void)
|
||||||
|
|
||||||
host_initialized = true;
|
host_initialized = true;
|
||||||
|
|
||||||
|
CL_SetState (ca_disconnected);
|
||||||
|
|
||||||
Con_Printf ("\nClient version %s (build %04d)\n\n", VERSION,
|
Con_Printf ("\nClient version %s (build %04d)\n\n", VERSION,
|
||||||
build_number ());
|
build_number ());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue