X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=sv_demo.c;h=08ebe8411bb0e8615fef4bed77fd99d8ce0a8479;hb=a43f3de5a66db2b6c75248fe85f5ae1573ad0ee1;hp=a1bc51d50fc81d6acf8835c7eb7f51813a022a82;hpb=1b5e3869f0fd3e2fe323680784610d48d6efddca;p=xonotic%2Fdarkplaces.git diff --git a/sv_demo.c b/sv_demo.c index a1bc51d5..08ebe841 100644 --- 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;