client->sv_demo_file = FS_OpenRealFile(name, "wb", false);
if(!client->sv_demo_file)
{
- Con_Print("ERROR: couldn't open.\n");
+ Con_Error("ERROR: couldn't open.\n");
return;
}
{
// This "pseudo packet" is written so a program can easily find out whose demo this is
sizebuf_t buf;
- unsigned char bufdata[128];
+ unsigned char bufdata[MAX_SCOREBOARDNAME + 64];
if(client->sv_demo_file == NULL)
return;