X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=sv_demo.c;h=08ebe8411bb0e8615fef4bed77fd99d8ce0a8479;hb=760131c2d6ddc1bb66ac0a698c0954f94631627a;hp=9a9cc1641feda26a1d3c4256b4f9fd540e68e4d7;hpb=01fe1aa7f6a669cdf71c910baf735ce68029be57;p=xonotic%2Fdarkplaces.git diff --git a/sv_demo.c b/sv_demo.c index 9a9cc164..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_Print("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;