]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_demo.c
common: Move infostring functions to new com_infostring.c
[xonotic/darkplaces.git] / sv_demo.c
index a1bc51d50fc81d6acf8835c7eb7f51813a022a82..08ebe8411bb0e8615fef4bed77fd99d8ce0a8479 100644 (file)
--- a/sv_demo.c
+++ b/sv_demo.c
@@ -22,14 +22,14 @@ void SV_StartDemoRecording(client_t *client, const char *filename, int forcetrac
        client->sv_demo_file = FS_OpenRealFile(name, "wb", false);
        if(!client->sv_demo_file)
        {
-               Con_Error("ERROR: couldn't open.\n");
+               Con_Print(CON_ERROR "ERROR: couldn't open.\n");
                return;
        }
 
        FS_Printf(client->sv_demo_file, "%i\n", forcetrack);
 }
 
-void SV_WriteDemoMessage(client_t *client, sizebuf_t *sendbuffer, qboolean clienttoserver)
+void SV_WriteDemoMessage(client_t *client, sizebuf_t *sendbuffer, qbool clienttoserver)
 {
        prvm_prog_t *prog = SVVM_prog;
        int len, i;