Refactoring patch by DevHC
This commit is contained in:
1 parent
86d96f12b9
commit
a9696d3558
7 files changed
+19
-36
No files matched your search
@@ -1537,7 +1537,7 @@ static qboolean SV_ClientCommand( client_t *cl, msg_t *msg ) {
|
||||
// the command, we will stop processing the rest of the packet,
|
||||
// including the usercmd. This causes flooders to lag themselves
|
||||
// but not other people
|
||||
// We don't do this when the client hasn't been active yet since its
|
||||
// We don't do this when the client hasn't been active yet since it's
|
||||
// normal to spam a lot of commands when downloading
|
||||
if ( !com_cl_running->integer &&
|
||||
cl->state >= CS_ACTIVE &&
|
||||
|
||||
@@ -412,7 +412,7 @@ static void SV_AddEntitiesVisibleFromPoint( vec3_t origin, clientSnapshot_t *fra
|
||||
// add it
|
||||
SV_AddEntToSnapshot( svEnt, ent, eNums );
|
||||
|
||||
// if its a portal entity, add everything visible from its camera position
|
||||
// if it's a portal entity, add everything visible from its camera position
|
||||
if ( ent->r.svFlags & SVF_PORTAL ) {
|
||||
if ( ent->s.generic1 ) {
|
||||
vec3_t dir;
|
||||
|
||||
Reference in new issue
Block a user