mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
Auto complete demos on not in pk3s while in pure servers. Patch by Zack Middleton (#4794)
This commit is contained in:
parent
91d1a6aab4
commit
8bb9a261bd
2 changed files with 2 additions and 2 deletions
|
@ -911,7 +911,7 @@ static void CL_CompleteDemoName( char *args, int argNum )
|
|||
char demoExt[ 16 ];
|
||||
|
||||
Com_sprintf( demoExt, sizeof( demoExt ), ".dm_%d", PROTOCOL_VERSION );
|
||||
Field_CompleteFilename( "demos", demoExt, qtrue, qfalse );
|
||||
Field_CompleteFilename( "demos", demoExt, qtrue, qtrue );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -350,7 +350,7 @@ static void SV_AddEntitiesVisibleFromPoint( vec3_t origin, clientSnapshot_t *fra
|
|||
// entities can be flagged to be sent to a given mask of clients
|
||||
if ( ent->r.svFlags & SVF_CLIENTMASK ) {
|
||||
if (frame->ps.clientNum >= 32)
|
||||
Com_Error( ERR_DROP, "SVF_CLIENTMASK: cientNum >= 32\n" );
|
||||
Com_Error( ERR_DROP, "SVF_CLIENTMASK: clientNum >= 32\n" );
|
||||
if (~ent->r.singleClient & (1 << frame->ps.clientNum))
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue