mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-25 05:11:35 +00:00
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
This commit is contained in:
parent
c7e9f8631c
commit
86453332af
1 changed files with 3 additions and 2 deletions
|
@ -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++);
|
||||
|
|
Loading…
Reference in a new issue