]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_shared.c
Implement Con_Error(f) and Con_Warn(f), error and warning, for prettier colors
[xonotic/darkplaces.git] / sys_shared.c
index d527632533e0362e812c4aa0294f75e208110c93..5171b34efaa180ead097559b1e4f835efab6b6dc 100644 (file)
@@ -630,7 +630,7 @@ void Sys_MakeProcessNice (void)
                return;
        Con_DPrintf("Process is becoming 'nice'...\n");
        if(setpriority(PRIO_PROCESS, 0, 19))
-               Con_Printf("Failed to raise nice level to %d\n", 19);
+               Con_Errorf("Failed to raise nice level to %d\n", 19);
        isnice = true;
 }
 void Sys_MakeProcessMean (void)
@@ -641,7 +641,7 @@ void Sys_MakeProcessMean (void)
                return;
        Con_DPrintf("Process is becoming 'mean'...\n");
        if(setpriority(PRIO_PROCESS, 0, nicelevel))
-               Con_Printf("Failed to lower nice level to %d\n", nicelevel);
+               Con_Errorf("Failed to lower nice level to %d\n", nicelevel);
        isnice = false;
 }
 #else