From 86453332af5e5e9422e7482c83fa8a8513cfd622 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 9 Jan 2023 05:15:23 +0000 Subject: [PATCH] Auto value for sv_demo_write_csqc now writes the csprogs into mvds, to hopefully reduce playback issues. the lazy record commands should be favouring .mvd.gz at least. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6342 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_user.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/server/sv_user.c b/engine/server/sv_user.c index c0c58bd28..66881913b 100644 --- a/engine/server/sv_user.c +++ b/engine/server/sv_user.c @@ -1210,8 +1210,8 @@ void SV_SendClientPrespawnInfo(client_t *client) if (client->prespawn_stage == PRESPAWN_CSPROGS) { extern cvar_t sv_demo_write_csqc; - if (client == &demo.recorder && sv_demo_write_csqc.ival) //we only really want to do this for demos. actual clients can make the request themselves. - if (client->fteprotocolextensions & PEXT_CHUNKEDDOWNLOADS) //there's many different download mechanisms... + if (client == &demo.recorder && (sv_demo_write_csqc.ival || !*sv_demo_write_csqc.string)) //we only really want to do this for demos(hopefully we're gzipping). actual clients can make the request themselves. + if ((client->fteprotocolextensions & PEXT_CHUNKEDDOWNLOADS) && (client->fteprotocolextensions & PEXT_CSQC)) //there's many different download mechanisms... { if (!client->prespawn_idx && !client->download) { @@ -6339,6 +6339,7 @@ void SV_Pext_f(void) host_client->fteprotocolextensions = 0; host_client->fteprotocolextensions2 = 0; + host_client->ezprotocolextensions1 = 0; for (i = 1; i < Cmd_Argc(); ) { tag = Cmd_Argv(i++);