]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_cmds.c
fix some format string errors, and return value of read() ignored warnings
[xonotic/darkplaces.git] / prvm_cmds.c
index 812860baacf5eb7c7d90f22cf409afe97918259a..ccd5b0a02eaa4a16ebab1e1d1af61deaf0ead895 100644 (file)
@@ -23,7 +23,7 @@ void VM_Warning(const char *fmt, ...)
        dpvsnprintf(msg,sizeof(msg),fmt,argptr);
        va_end(argptr);
 
-       Con_Printf(msg);
+       Con_Print(msg);
 
        // TODO: either add a cvar/cmd to control the state dumping or replace some of the calls with Con_Printf [9/13/2006 Black]
        if(prvm_backtraceforwarnings.integer && recursive != realtime) // NOTE: this compares to the time, just in case if PRVM_PrintState causes a Host_Error and keeps recursive set