Call CL_UpdateScreen a few extra times to make sure the screen gets updated

before any lengthy pauses occur
This commit is contained in:
Bill Currie 2002-10-11 03:40:41 +00:00
parent a055269654
commit 347815f3e3
2 changed files with 10 additions and 0 deletions

View file

@ -974,6 +974,9 @@ Host_Init (void)
}
Host_Skin_Init ();
CL_UpdateScreen (cl.time);
CL_UpdateScreen (cl.time);
if (!isDedicated && cl_quakerc->int_val)
Cbuf_InsertText (host_cbuf, "exec quake.rc\n");
Cmd_Exec_File (host_cbuf, fs_usercfg->string);
@ -991,6 +994,8 @@ Host_Init (void)
build_number ());
Con_Printf ("\x80\x81\x81\x82 %s Initialized\x80\x81\x81\x82\n", PROGRAM);
CL_UpdateScreen (cl.time);
Con_NewMap ();
CL_UpdateScreen (cl.time);

View file

@ -1822,6 +1822,9 @@ Host_Init (void)
CL_Skin_Init ();
Locs_Init ();
CL_UpdateScreen (realtime);
CL_UpdateScreen (realtime);
if (cl_quakerc->int_val)
Cbuf_InsertText (cl_cbuf, "exec quake.rc\n");
Cmd_Exec_File (cl_cbuf, fs_usercfg->string);
@ -1839,7 +1842,9 @@ Host_Init (void)
build_number ());
Con_Printf ("\x80\x81\x81\x82 %s initialized \x80\x81\x81\x82\n", PROGRAM);
CL_UpdateScreen (realtime);
Con_NewMap (); // force the menus to be loaded
CL_UpdateScreen (realtime);
CL_UpdateScreen (realtime);