OMGWHATISTHISSHITIDONTEVENKNOW

This commit is contained in:
Thilo Schulz 2011-02-10 23:16:14 +00:00
parent 4dc750aedb
commit 91d1a6aab4

View file

@ -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: cientNum >= 32\n" );
if (~ent->r.singleClient & (1 << frame->ps.clientNum))
continue;
}