From: cloudwalk Date: Mon, 22 Jun 2020 15:15:22 +0000 (+0000) Subject: Move Sys_InitConsole to Con_Init X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=576b979605c27c7d0923dded4be463c53bebf73f;p=xonotic%2Fdarkplaces.git Move Sys_InitConsole to Con_Init git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12716 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/console.c b/console.c index 45509faa..72563d25 100644 --- a/console.c +++ b/console.c @@ -910,6 +910,9 @@ void Con_Init (void) Cmd_AddCommand(CMD_SHARED, "condump", Con_ConDump_f, "output console history to a file (see also log_file)"); con_initialized = true; + // initialize console window (only used by sys_win.c) + Sys_InitConsole(); + Con_DPrint("Console initialized.\n"); } diff --git a/host.c b/host.c index 301ea8ea..6265bbc9 100644 --- a/host.c +++ b/host.c @@ -1225,9 +1225,6 @@ static void Host_Init (void) Sys_Init_Commands(); COM_Init_Commands(); - // initialize console window (only used by sys_win.c) - Sys_InitConsole(); - // initialize filesystem (including fs_basedir, fs_gamedir, -game, scr_screenshot_name) FS_Init();