]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_win.c
comment out a line to make the darkplaces.exe -dedicated console show
[xonotic/darkplaces.git] / sys_win.c
index a4c740c990dd0233f11004b9c88ff09e52723c43..be6fac219e72cc326da66a811be940290e1526ee 100644 (file)
--- 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);