]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - conproc.c
fix double bright models bug (LightPoint returns 2x color, and RSurf_SetColorPointer...
[xonotic/darkplaces.git] / conproc.c
index 560be1f12f1b7e42b831f318bfd20e75f9c12a17..63a1e465355256b3066d01510e8b263f83cc24ba 100644 (file)
--- a/conproc.c
+++ b/conproc.c
@@ -20,8 +20,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 // conproc.c
 
 #include <windows.h>
-#include "conproc.h"
+#include <wchar.h>
 #include "quakedef.h"
+#include "conproc.h"
 
 HANDLE heventDone;
 HANDLE hfileBuffer;
@@ -58,7 +59,7 @@ void InitConProc (HANDLE hFile, HANDLE heventParent, HANDLE heventChild)
 
        if (!heventDone)
        {
-               Con_SafePrintf ("Couldn't create heventDone\n");
+               Con_Print("Couldn't create heventDone\n");
                return;
        }
 
@@ -70,7 +71,7 @@ void InitConProc (HANDLE hFile, HANDLE heventParent, HANDLE heventChild)
                                           &dwID))
        {
                CloseHandle (heventDone);
-               Con_SafePrintf ("Couldn't create QHOST thread\n");
+               Con_Print("Couldn't create QHOST thread\n");
                return;
        }
 
@@ -113,7 +114,7 @@ DWORD RequestProc (DWORD dwNichts)
        // hfileBuffer is invalid.  Just leave.
                if (!pBuffer)
                {
-                       Con_SafePrintf ("Invalid hfileBuffer\n");
+                       Con_Print("Invalid hfileBuffer\n");
                        break;
                }