From 25d34896c3a527a35d112fa7969081c554473b21 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 1 Apr 2008 09:06:47 +0000 Subject: [PATCH] comment out a line to make the darkplaces.exe -dedicated console show up, apparently the initial houtput is never 0 or invalid on Windows XP, which causes it to never open a console - but then error out because the hinput is invalid git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8238 d7cf8633-e32d-0410-b094-e92efae38249 --- sys_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys_win.c b/sys_win.c index a4c740c9..be6fac21 100644 --- a/sys_win.c +++ b/sys_win.c @@ -315,7 +315,7 @@ void Sys_InitConsole (void) // if (cls.state == ca_dedicated) if (COM_CheckParm("-dedicated")) { - if ((houtput == 0) || (houtput == INVALID_HANDLE_VALUE)) + //if ((houtput == 0) || (houtput == INVALID_HANDLE_VALUE)) // LordHavoc: on Windows XP this is never 0 or invalid, but hinput is invalid { AllocConsole (); houtput = GetStdHandle (STD_OUTPUT_HANDLE); -- 2.39.2