Fix -connect crash
This commit is contained in:
parent
b716f9a49b
commit
05647a9633
4 changed files with 5 additions and 1 deletions
|
|
@ -2052,6 +2052,7 @@ static boolean CL_ServerConnectionTicker(const char *tmpsave, tic_t *oldtic, tic
|
|||
{
|
||||
if (cl_mode != CL_DOWNLOADFILES && cl_mode != CL_DOWNLOADSAVEGAME)
|
||||
{
|
||||
F_CacheTitleScreen();
|
||||
F_MenuPresTicker(true); // title sky
|
||||
F_TitleScreenTicker(true);
|
||||
F_TitleScreenDrawer();
|
||||
|
|
|
|||
|
|
@ -1447,7 +1447,9 @@ void D_SRB2Main(void)
|
|||
|
||||
// init title screen display params
|
||||
if (M_GetUrlProtocolArg() || M_CheckParm("-connect"))
|
||||
{
|
||||
F_InitMenuPresValues(true);
|
||||
}
|
||||
|
||||
//---------------------------------------------------- READY TIME
|
||||
// we need to check for dedicated before initialization of some subsystems
|
||||
|
|
|
|||
|
|
@ -1276,7 +1276,7 @@ else if (strlen(name) <= 6) \
|
|||
else \
|
||||
arr[0] = 0;
|
||||
|
||||
static void F_CacheTitleScreen(void)
|
||||
void F_CacheTitleScreen(void)
|
||||
{
|
||||
UINT16 i;
|
||||
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ boolean F_GetPromptHideHud(fixed_t y);
|
|||
|
||||
void F_StartIntro(void);
|
||||
void F_StartTitleScreen(void);
|
||||
void F_CacheTitleScreen(void);
|
||||
void F_StartCredits(void);
|
||||
void F_BlanStartCredits(void);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue